Solution 1118947

Submitted on 9 Feb 2017
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   Fail
phi_correct = (sqrt(5)+1)/2; error_bound = 10^-12; assert(abs(goldenRatio() - phi_correct) <= error_bound )

Error: File: solution.m Line: 2 Column: 9 ()-indexing must appear last in an index expression.

Suggested Problems

More from this Author1