Cody

Solution 590177

Submitted on 2 Mar 2015 by Jean-Marie Sainthillier
  • Size: 15
  • 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
%% x = 1; y_correct = 0.9566 assert(isequal(graze(x),y_correct))

y_correct = 0.9566

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

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

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

Suggested Problems