Okay guys!
Today in Geometry we were learning about spheres and we had a quick lesson about the fibonacci sequence. I devised a program using the internet (to find phi) and the lesson, and I came up with this formula. But when I test it, the result is always zero.
My program is supposed to find the nth value of the fib. sequence. Here's the code:
PROGRAM:FIBONACI
:ClrHome
:(1+√(5))/2→P //This I found off the internet; it's the exact value of phi
:Input "VAR: ",N
:(P^N-(P)^N)/√(5) //This is the formula I devised. The 0 error has got to be somewhere here...
So that's the code. I refrained from a
:(formula)→X
:Disp X
Because we all know that calculating the function and ending the program after displays it anyways.
Well, that's that. Please help, I took my meager info from a Geometry class.
The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"