Cody

Solution 1702766

Submitted on 5 Jan 2019
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; y = 1; z_correct = 6.28; assert(isequal(Circumference(x,y),z_correct))

ans = 6.2832

Assertion failed.

2   Fail
x=2 y=4 z_correct=50.272 assert(isequal(Circumference(x,y),z_correct))

x = 2 y = 4 z_correct = 50.2720 ans = 50.2655

Assertion failed.

3   Pass
x=0 y=0 z_correct=0 assert(isequal(Circumference(x,y),z_correct))

x = 0 y = 0 z_correct = 0 ans = 0

4   Pass
x=0 y=1 z_correct=0 assert(isequal(Circumference(x,y),z_correct))

x = 0 y = 1 z_correct = 0 ans = 0