This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
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 )
ans =
1.6180
|
6283 Solvers
Determine the number of odd integers in a vector
435 Solvers
516 Solvers
462 Solvers
Test Problem; Create a 5x5 array containing all ones
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!