Cody

Problem 44308. Component area

Solution 1659731

Submitted on 26 Oct 2018
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
h = 50; w = 20; r = 12; A_correct = (h*w)-((pi*r^2)/2); assert(isequal(your_fcn_name(h,w,r),A_correct))

Error: You may not use the command(s) eval in your code

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!