Problem 1377. find radius of cone

Solution 669972

Submitted on 14 May 2015 by Chellammai C
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

2   Pass
%% I=13,H=12; y_correct = 5; assert(isequal(coneradius(I,H),y_correct))

I = 13

Suggested Problems

More from this Author13

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!