Cody

Problem 1377. find radius of cone

Solution 230493

Submitted on 14 Apr 2013 by Evan
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 ans = 3

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

I = 13 ans = 5

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!