Cody

Solution 819201

Submitted on 3 Feb 2016 by William
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 )

a = -0.6180 1.6180 phi = 1.6180

Suggested Problems

More from this Author1