Cody

# Problem 2308. rectangle in circle

Solution 441962

Submitted on 13 May 2014 by Alfonso Nieto-Castanon
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
%% a=6; b=12; y_correct=30 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 30.00

2   Pass
%% a=7; b=14; y_correct=35 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 35.00

3   Pass
%% a=3; b=6; y_correct=15 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 15.00

4   Pass
%% a=5; b=40; y_correct=65 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 65.00

5   Pass
%% a=5; b=90; y_correct=125 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 125.00

6   Pass
%% a=12; b=54; y_correct=102 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 102.00

7   Pass
%% a=16; b=18; y_correct=58 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 58.00

8   Pass
%% a=16; b=72; y_correct=136 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 136.00