Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
z = 1;
y1=14.2000
y2=0
[y11,y22]=calculate_eq(x,z)
assert( abs(y1-y11)+abs(y2-y22)<0.001 )
y1 =
14.2000
y2 =
0
y11 =
14.2000
y22 =
0
|
2 | Pass |
x = 2;
z = 1;
y1= 55.7000
y2=4.7500
[y11,y22]=calculate_eq(x,z)
assert( abs(y1-y11)+abs(y2-y22)<0.001 )
y1 =
55.7000
y2 =
4.7500
y11 =
55.7000
y22 =
4.7500
|
1263 Solvers
348 Solvers
Compute LOG(1+X) in natural log
204 Solvers
241 Solvers
139 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!