Search found 3 matches

by hughv
Wed Jun 24, 2009 2:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Calculate PHI
Replies: 4
Views: 7404

Thanks. I'll look at this later.
by hughv
Wed Jun 24, 2009 8:13 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Calculate PHI
Replies: 4
Views: 7404

'The Golden Ratio" by Mario Livio He explains it this way, " If you define a series of numbers by the property that each term (Starting with the third) is equal to the sum of the two preceding ones, then irrespective of the two numbers you started with, as long as you go sufficiently far d...
by hughv
Tue Jun 23, 2009 9:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Calculate PHI
Replies: 4
Views: 7404

Calculate PHI

It's been nearly 20 years since I looked at Basic, and I thought this would be easy, but I was wrong. I was reading about a way to calculate PHI: Take any two numbers: x, y Add them together: z = x + y Add the previous number: a= z + y Continue until you have 20 numbers and divide the 20th by the 19...