Cody

Solution 1378817

Submitted on 13 Dec 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
n=1; i=0.05; y_correct = 95.12 assert(isequal(your_fcn_name(n,i),y_correct))

y_correct = 95.1200 ans = 95.2400

Assertion failed.

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

y_correct = 60.6500 ans = 62.0900

Assertion failed.

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

y_correct = 22.3100 ans = 24.7200

Assertion failed.