Cody

Solution 1752954

Submitted on 17 Mar 2019
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   Fail
x = 12; y_correct = 28/38; assert(isequal(your_fcn_name(x),y_correct))

y = 0.5600

Assertion failed.

2   Pass
x = 7; y_correct = 17/11; assert(isequal(your_fcn_name(x),y_correct))

y = 1.5455

3   Fail
x = 20; y_correct = 77/113; assert(isequal(your_fcn_name(x),y_correct))

y = 0.5789

Assertion failed.