Cody

Problem 1355. Given area find sides

Solution 3362438

Submitted on 24 Oct 2020 by MtF
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
A = 400; y_correct = 20; assert(isequal(findside(A),y_correct))

ans = 20

2   Pass
A = 144; y_correct = 12; assert(isequal(findside(A),y_correct))

ans = 12

3   Pass
A = 225; y_correct = 15; assert(isequal(findside(A),y_correct))

ans = 15

4   Pass
A = 256; y_correct = 16; assert(isequal(findside(A),y_correct))

ans = 16

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!