Cody

Solution 282927

Submitted on 16 Jul 2013 by Suman Saha
  • Size: 12
  • 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
%% I=5,H=4; y_correct = 3; assert(isequal(coneradius(I,H),y_correct))
I = 5 y = 3 ans = []
2   Pass
%% I=13,H=12; y_correct = 5; assert(isequal(coneradius(I,H),y_correct))
I = 13 y = 5 ans = []