Cody

Solution 1413853

Submitted on 11 Jan 2018 by David Verrelli
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
l = 1; circumference_correct = l * pi * 2; assert(isequal(radius(l),circumference_correct))

ans = 6.2832

2   Pass
l = 2; circumference_correct = 2 * pi * 2; assert(isequal(radius(l),circumference_correct))

ans = 12.5664

3   Pass
l = 3; circumference_correct = 3 * pi * 2; assert(isequal(radius(l),circumference_correct))

ans = 18.8496