Cody

Solution 1683436

Submitted on 30 Nov 2018 by Martin C.
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
n=2; r=0.25; y_correct = 1.3719; assert(abs(bi_coff(n,r)-y_correct)<0.0001)

c = 1.3719

2   Pass
n=2; r=2; y_correct = 1; assert(abs(bi_coff(n,r)-y_correct)<0.0001)

c = 1

3   Pass
n=5; r=3.5; y_correct = 7.7607; assert(abs(bi_coff(n,r)-y_correct)<0.0001)

c = 7.7607

4   Pass
n=5; r=1.1; y_correct = 5.5483; assert(abs(bi_coff(n,r)-y_correct)<0.0001)

c = 5.5483