Cody

Solution 1832653

Submitted on 31 May 2019 by John Walker
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))

bd_build bin boot CourseFiles Data dev etc home lib lib64 MATLAB Add-Ons MATLAB Drive media mnt opt proc root run sbin srv sys tmp users usr var

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

bd_build bin boot CourseFiles Data dev etc home lib lib64 MATLAB Add-Ons MATLAB Drive media mnt opt proc root run sbin srv sys tmp users usr var

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

bd_build bin boot CourseFiles Data dev etc home lib lib64 MATLAB Add-Ons MATLAB Drive media mnt opt proc root run sbin srv sys tmp users usr var