Problem 1377. find radius of cone

Solution 3799378

Submitted on 23 Nov 2020 by Marek Macák
  • Size: 11
  • 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

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!