Cody

Solution 1071670

Submitted on 4 Dec 2016 by Soyeon Kwon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
phi_correct = (sqrt(5)+1)/2; error_bound = 10^-12; assert(abs(goldenRatio() - phi_correct) <= error_bound )

phi = 1.6180

More from this Author1