Cody

Solution 892242

Submitted on 20 May 2016 by Rathin Joshi
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 y = 0.9566

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

y = 3.8264

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

y = 34.4380

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

y = 77.4855