Cody

Solution 1680017

Submitted on 24 Nov 2018
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
a = 0.4331; m = 1.0001; assert(tri(a)>m*0.99)

Undefined function or variable 'A'. Error in tri (line 2) m = sqrt(4*A/sqrt(3)); Error in Test1 (line 3) assert(tri(a)>m*0.99)

2   Fail
a = 43.31; m = 10.001; assert(tri(a)<m*1.01)

Undefined function or variable 'A'. Error in tri (line 2) m = sqrt(4*A/sqrt(3)); Error in Test2 (line 3) assert(tri(a)<m*1.01)

3   Fail
a = 4331; m = 100.01; assert(tri(a)>m*0.99)

Undefined function or variable 'A'. Error in tri (line 2) m = sqrt(4*A/sqrt(3)); Error in Test3 (line 3) assert(tri(a)>m*0.99)

4   Fail
a = 4331; m = 100.01; assert(tri(a)<m*1.01)

Undefined function or variable 'A'. Error in tri (line 2) m = sqrt(4*A/sqrt(3)); Error in Test4 (line 3) assert(tri(a)<m*1.01)