Cody

Solution 2263588

Submitted on 8 May 2020
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
[mx,mn]=tri_side(20,10); assert(abs(mx-99.9199)<.001) assert(abs(mn- 31.9756)<.001)

Output argument "max" (and maybe others) not assigned during call to "tri_side". Error in Test1 (line 1) [mx,mn]=tri_side(20,10);

2   Fail
[mx,mn]=tri_side(50,50); assert(abs(mx-1249.9579)<.001) assert(abs(mn-24.9987)<.001)

Output argument "max" (and maybe others) not assigned during call to "tri_side". Error in Test2 (line 1) [mx,mn]=tri_side(50,50);

3   Fail
[mx,mn]=tri_side(1,3); assert(abs(mx-1.479)<.001) assert(abs(mn- 1.479)<.001)

Output argument "max" (and maybe others) not assigned during call to "tri_side". Error in Test3 (line 1) [mx,mn]=tri_side(1,3);

4   Fail
[mx,mn]=tri_side(1000,30); assert(abs(mx-14998.3124)<.001) assert(abs(mn-3784.4461)<.001)

Output argument "max" (and maybe others) not assigned during call to "tri_side". Error in Test4 (line 1) [mx,mn]=tri_side(1000,30);

Suggested Problems

More from this Author145