Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(abs(rootof(@sin,3)-pi)<100*eps)
root =
3.1416
|
2 | Pass |
assert(abs(rootof(@cos,1.5)-pi/2)<100*eps)
root =
1.5708
|
3 | Pass |
assert(abs(rootof(@tan,0.05)-0)<100*eps)
root =
0
|
202 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3609 Solvers
367 Solvers
347 Solvers
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!