Cody

Solution 1382277

Submitted on 16 Dec 2017 by David Verrelli
  • Size: 18
  • This is the leading solution.
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 ans = 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 ans = 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 ans = 22.3100