Cody

Solution 2142235

Submitted on 27 Feb 2020 by Athi
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 = 1; y_correct = .2929; assert(abs(inscribed_circle_3(a)-y_correct)<0.001)

2   Pass
a = 10; y_correct = 2.9289; assert(abs(inscribed_circle_3(a)-y_correct)<0.001)

3   Pass
a = 23.6; y_correct = 6.9123; assert(abs(inscribed_circle_3(a)-y_correct)<0.001)

4   Pass
a = 0; y_correct = 0; assert(abs(inscribed_circle_3(a)-y_correct)<0.001)

5   Pass
a = pi; y_correct = 0.9202; assert(abs(inscribed_circle_3(a)-y_correct)<0.001)