Cody

Solution 1739169

Submitted on 28 Feb 2019 by Martin C.
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
n=1; i=0.05; y_correct = 95.12 assert(isequal(your_fcn_name(n,i),y_correct))

y_correct = 95.1200 y = 95.1229 y = 95.1200

2   Pass
n=5; i=0.10; y_correct = 60.65 assert(isequal(your_fcn_name(n,i),y_correct))

y_correct = 60.6500 y = 60.6531 y = 60.6500

3   Pass
n=10; i=0.15; y_correct = 22.31 assert(isequal(your_fcn_name(n,i),y_correct))

y_correct = 22.3100 y = 22.3130 y = 22.3100