Cody

Solution 1523254

Submitted on 8 May 2018 by William
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
Ef = 100; Em = 10; ff = 0.30; assert(abs(rule_of_mixtures_lower_bound(Ef,Em,ff) - 13.6986) < 1e-4)

2   Pass
Ef = 100; Em = 10; ff = 0.22; assert(abs(rule_of_mixtures_lower_bound(Ef,Em,ff) - 12.4688) < 1e-4)

3   Pass
Ef = 100; Em = 10; ff = 0.15; assert(abs(rule_of_mixtures_lower_bound(Ef,Em,ff) - 11.5607) < 1e-4)

4   Pass
Ef = 1000; Em = 10; ff = 0.30; assert(abs(rule_of_mixtures_lower_bound(Ef,Em,ff) - 14.2248) < 1e-4)

5   Pass
Ef = 1000; Em = 10; ff = 0.22; assert(abs(rule_of_mixtures_lower_bound(Ef,Em,ff) - 12.7845) < 1e-4)

6   Pass
Ef = 1000; Em = 10; ff = 0.15; assert(abs(rule_of_mixtures_lower_bound(Ef,Em,ff) - 11.7440) < 1e-4)

Suggested Problems

More from this Author161