Cody

Problem 1355. Given area find sides

Solution 2487623

Submitted on 7 Jun 2020
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   Fail
A = 400; y_correct = 20; assert(isequal(findside(A),y_correct))

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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!