Cody

Solution 1726794

Submitted on 14 Feb 2019 by Alfonso Nieto-Castanon
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

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

y_correct = 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

Suggested Problems