Cody

# Problem 2779. Rule of mixtures (composites) - weighted bound

Solution 546957

Submitted on 17 Dec 2014
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; wt = 0.25; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 19.5240) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

2   Fail
%% Ef = 100; Em = 10; ff = 0.30; wt = 0.50; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 25.3493) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

3   Fail
%% Ef = 100; Em = 10; ff = 0.30; wt = 0.75; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 31.1747) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

4   Fail
%% Ef = 100; Em = 10; ff = 0.15; wt = 0.25; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 14.5455) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

5   Fail
%% Ef = 100; Em = 10; ff = 0.15; wt = 0.50; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 17.5303) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

6   Fail
%% Ef = 100; Em = 10; ff = 0.15; wt = 0.75; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 20.5152) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

7   Fail
%% Ef = 1000; Em = 10; ff = 0.30; wt = 0.25; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 87.4186) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

8   Fail
%% Ef = 1000; Em = 10; ff = 0.30; wt = 0.50; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 160.6124) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

9   Fail
%% Ef = 1000; Em = 10; ff = 0.30; wt = 0.75; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 233.8062) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

10   Fail
%% Ef = 1000; Em = 10; ff = 0.15; wt = 0.25; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 48.4330) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

11   Fail
%% Ef = 1000; Em = 10; ff = 0.15; wt = 0.50; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 85.1220) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".

12   Fail
%% Ef = 1000; Em = 10; ff = 0.15; wt = 0.75; [Ec] = rule_of_mixtures_wt_bound(Ef,Em,ff,wt); assert(abs(Ec - 121.8110) < 1e-4)

Error: Output argument "Ec" (and maybe others) not assigned during call to "/users/msssystem11/rule_of_mixtures_wt_bound.m>rule_of_mixtures_wt_bound".