How do I write a program to calculate the golden section?

new topic     » topic index » view thread      » older message » newer message

I want to use Euphoria to make a fibonacci series like:
        1,2,3,5,8,13,24,37,51
Where each term is the sum of the last two terms
       As the terms get larger, the value for the golden section gets
more exact. I downloaded a program that calculates pi to any number of
digits specified. I'm looking for something like that.I examined the
code, but I couldn't figure out how I'd introduce the formula to
calculate the series.
       I'm new to Euphoria and would greatly appreciate it if anyone
could help out!
Rafael Skovron


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu