Cody

# Problem 2774. Rule of mixtures (composites) - upper bound

Solution 3783393

Submitted on 22 Nov 2020 by ChrisR
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(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),37))

2   Pass
Ef = 100; Em = 10; ff = 0.22; assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),29.8))

3   Pass
Ef = 100; Em = 10; ff = 0.15; assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),23.5))

4   Pass
Ef = 1000; Em = 10; ff = 0.30; assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),307))

5   Pass
Ef = 1000; Em = 10; ff = 0.22; assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),227.8))

6   Pass
Ef = 1000; Em = 10; ff = 0.15; assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),158.5))

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!