Cody

Solution 1740752

Submitted on 2 Mar 2019 by Alan
  • Size: 25
  • 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 = 12; y_correct = 28/38; assert(isequal(your_fcn_name(x),y_correct))

ans = 0.7368

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

ans = 1.5455

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

ans = 0.6814

Suggested Problems