Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Algorithms
Hi everyone!
I have a exercise about parallel computing. My exercise is about calculating Golden ratio with Alchemi, i have to find out nth digit of this number but i don't know how. Someone could help me!!!
(Sorry, my english is really bad (>.<)! )
Posted 15-Nov-12 1:47am
Edited 23-Nov-12 22:40pm
n.podbielski at 15-Nov-12 7:10am
What algorithm? It is a number (1+0.5^0.5)/2
silverhand1990 at 16-Nov-12 7:14am
If you want to have a Golden ratio with 1000 floating point numbers ? That's why i need an algorimth to calculate it. To calculating it, we have Newton Method but this Method cannot use in parallel computing...
Matt T Heffron at 15-Nov-12 12:55pm
Actually it is (1 + sqrt(5))/2 (not sqrt(0.5))
n.podbielski at 16-Nov-12 8:49am
You are right. I don,t know how this happend. :)
YvesDaoust at 25-Feb-13 12:36pm
What is Alchemi ?
YvesDaoust at 25-Feb-13 12:42pm
Your problem statement is incomplete. You first need to decide what method to use for the computation.
If the goal is just to practice parallel programming, you can pick any algorithm, even inefficient.
If the goal is to really accelerate the computation, then you need 1) to compute a huge number of decimals (otherwise it is not worth the trouble) and 2) to have a truly good sequential algorithm.
YvesDaoust at 25-Feb-13 12:44pm
Do you need to find all N first digits, or just the Nth ?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please have a look into the following links

1. Calculate Golden ratio[^]
2.Golden ratio calculator[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 144
1 Maciej Los 129
2 Sascha Lefévre 110
3 Abhinav S 104
4 Richard MacCutchan 90
0 Sergey Alexandrovich Kryukov 6,578
1 OriginalGriff 6,298
2 Peter Leow 2,534
3 Abhinav S 2,358
4 Maciej Los 2,352

Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 24 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100