Cody

Solution 1720249

Submitted on 4 Feb 2019 by Nikolaos Nikolaou
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
d=1; z=2; assert(annu(d,z)<pi*1.1)

y1 = 1.1180 y = 3.1416

2   Pass
d=1; z=2; assert(annu(d,z)>pi*0.9)

y1 = 1.1180 y = 3.1416

3   Pass
d=10; z=2; assert(annu(d,z)<pi*1.1)

y1 = 5.0990 y = 3.1416

4   Pass
d=10; z=2; assert(annu(d,z)>pi*0.9)

y1 = 5.0990 y = 3.1416

5   Pass
d=100; z=20; assert(annu(d,z)<pi*110)

y1 = 50.9902 y = 314.1593

6   Pass
d=100; z=20; assert(annu(d,z)>pi*90)

y1 = 50.9902 y = 314.1593

More from this Author100