Cody

Solution 2378093

Submitted on 26 May 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
x = 1; A = 1; assert(isequal(sq_area(x),A))

A = 3.1416

Assertion failed.

2   Fail
x = 2; A = 4; assert(isequal(sq_area(x),A))

A = 12.5664

Assertion failed.

3   Fail
x = 6; A = 36; assert(isequal(sq_area(x),A))

A = 113.0973

Assertion failed.

4   Fail
x = 8; A = 64; assert(isequal(sq_area(x),A))

A = 201.0619

Assertion failed.