Cody

Solution 420827

Submitted on 20 Mar 2014 by J.R.! Menzinger
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
%% M= 10; n=1500; P = 94247.77; assert(isequal(your_fcn_name(M,n),P))

ans = 1.0e+04 * Columns 1 through 9 0 0 0 0 7.2257 0 0 0 0 Column 10 9.4248 ans = 9.4248e+04

2   Pass
%% M= 5 n=2300; P = 72256.63; assert(isequal(your_fcn_name(M,n),P))

M = 5 ans = 1.0e+04 * Columns 1 through 9 0 0 0 0 7.2257 0 0 0 0 Column 10 9.4248 ans = 7.2257e+04