Cody

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

Solution 2052201

Submitted on 9 Dec 2019
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   Fail
Ef = 100; Em = 10; ff = 0.30; assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),37))

Undefined function 'rule_of_mixtures_upper_bound' for input arguments of type 'double'. Error in Test1 (line 4) assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),37))

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

Undefined function 'rule_of_mixtures_upper_bound' for input arguments of type 'double'. Error in Test2 (line 4) assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),29.8))

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

Undefined function 'rule_of_mixtures_upper_bound' for input arguments of type 'double'. Error in Test3 (line 4) assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),23.5))

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

Undefined function 'rule_of_mixtures_upper_bound' for input arguments of type 'double'. Error in Test4 (line 4) assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),307))

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

Undefined function 'rule_of_mixtures_upper_bound' for input arguments of type 'double'. Error in Test5 (line 4) assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),227.8))

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

Undefined function 'rule_of_mixtures_upper_bound' for input arguments of type 'double'. Error in Test6 (line 4) assert(isequal(rule_of_mixtures_upper_bound(Ef,Em,ff),158.5))