Cody

Solution 466139

Submitted on 4 Jul 2014 by Grzegorz Knor
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
%% r = 2; y_correct = 16; assert(isequal(area_sqr(r),y_correct))

A = 16

2   Pass
%% r = 3; y_correct = 36; assert(isequal(area_sqr(r),y_correct))

A = 36

3   Pass
%% r = 25; y_correct = 2500; assert(isequal(area_sqr(r),y_correct))

A = 2500

Suggested Problems

More from this Author3