You are not logged in.
Magneto? they're making another Xmen movie?
good guess, Daniel!
so what is the upcoming movie he's going to be in?
Or perhaps Christopher Lee, but lets hold off on that question because we don't even know if he's a wizard yet. If he is, thats a wasted question.
He's at least in his late 40's, so he could be John Rhys Davis (Gimli) Ian Holme (Bilbo), Theoden, Denothir, or perhaps he has a more obscure role.
ah HA!
now we merely need to narrow down on which race he was in the movie.
14. was he one of the wizards?
i think he meant, does
depends on what your priorities are i guess.
I was just thinking of some ways you could compute maclaurin or taylor expansions as quick as possible. Consider the maclauren expansion for sin(x)
or in sumation:
note that
(2n -1)! = (2n-1)(2n-2)(2n - 3)! and (2n - 3)! is the factorial of the preceding term.
Also
which also appears in the preceding term. Thusor if we allow n to move up in increments of 2 and shift the starting point, then we have
thus we could compute the sum as follows:
double xSquared = x*x; // compute x squared ahead of time
double sum = x; // add the first term to the accumulated sum
double previousTerm = x;
double currentTerm;
for (int n = 3; n < INFINITY; n+= 2) // continue on from the second term
{
// compute this term using the previous term
currentTerm = -previousTerm*xSquared/( (n*(n-1));
sum += currenTerm;
previousTerm = currentTerm;
}
return sum;what do you think? Any ways we could make it even faster?
well there goes James Bond. Lets try movies,
13. did he play a part in the Lord of the Rings trilogy? (play a part, meaning act in)
I just like how it contains both pi and e.
sweetness!
12. Was he a female heart throb back when he was young?
what you'd probably expect. Any continent who's name begins with an A.
8. Is he an actor?
born BC and alive still? Come on we were already told it ISN'T Zach!
do you mean the eigenvalues of THIS matrix?
the reason i ask, is normally you begin with a square matrix, such as the one above, your next task is to compute
once you do the computation, you should end up with a 3rd degree polynomial with lambda being the variable. Your next task is to find the roots of this polynomial, those values of lambda that make the polynomial equal to zero. These roots are the eigenvalues.
Hope that helps!
4. is he a scientist?
I... I was right? NO WAY! Hahaha! Thats awesome!
Lol, good guess, Devente. You're probably correct!
even the dinosaurs couldn't prove this one: http://www.qwantz.com/archive/001092.html
proof 1 + 1 cannot be solved
let x = 1+1
then
this is a 5th degree polynomial and thus we cannot find its roots! qed.
thanks, Ricky!
Java is, in my opinion, a ridiculously easy language to learn. C++ on the otherhand, can be rather confusing for a while, and there are many more pitfalls and slight differences which are easy to overlook if you're used to using java.
But really the differences between C++ and java aren't that staggering in terms of essentials (am I not correct?)
what i'm thinking of doing is writing a short tutorial called C++ programming for java programmers. It would ignore all similarities and instead deal with the major differences. It would be a useful resource to me and perhaps other people.
note the tutorial would only assume you know java and teach you the essentials and not the whole of C++.
So what kinds of thing should I discuss? so far i intend to include:
from reference variables to references and pointers
from free store objects (always the case in java) to locally declared objects, pointers and references to objects, objects on the free store
memory leaks
arrays and strings
multiple inheritance
any more suggestions?
CURSES! we lost!
was he... Julius Caesar?
19. was he greek? ![]()
hehehe! honestly!
sheesh! looks like we're going to lose this one!