Cody

Solution 479852

Submitted on 29 Jul 2014 by George Berken
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