Cody

Solution 1701909

Submitted on 3 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))

Out of memory. The likely cause is an infinite recursion within the program. Error in Circumference (line 2) z = Circumference;

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

Out of memory. The likely cause is an infinite recursion within the program. Error in Circumference (line 2) z = Circumference;

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

x = 0 y = 0 z_correct = 0

Out of memory. The likely cause is an infinite recursion within the program. Error in Circumference (line 2) z = Circumference;

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

x = 0 y = 1 z_correct = 0

Out of memory. The likely cause is an infinite recursion within the program. Error in Circumference (line 2) z = Circumference;