Cody

Solution 477530

Submitted on 24 Jul 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
%% x = 1; y_correct = 0.9566 assert(isequal(graze(x),y_correct))

y_correct = 0.9566 ans = 0.9566

2   Pass
%% x = 2; y_correct = 3.8264; assert(isequal(graze(x),y_correct))

ans = 3.8264

3   Pass
%% x = 6; y_correct = 34.4380; assert(isequal(graze(x),y_correct))

ans = 34.4380

4   Pass
%% x = 9; y_correct = 77.4855; assert(isequal(graze(x),y_correct))

ans = 77.4855