Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
assert(all(abs(circ_puzz(1,2,3,4)-[-1 18.25])<100*eps))
|
2 | Pass |
%%
assert(all(abs(circ_puzz(-1/pi,1/2,-3,exp(1))-[0.785398163397448 -5.94105822840435])<100*eps))
|
3 | Pass |
%%
assert(all(abs(circ_puzz(1/pi,-pi,pi,.01)-[4.93480220054468 -4.59997651648516])<100*eps))
|
4 | Pass |
%%
assert(all(abs(circ_puzz(-2,-3,-5,7)-[ -0.75 -102])<100*eps))
|
5 | Pass |
%%
assert(all(abs(circ_puzz(3,4,2,1.5)-[-2/3 7.5])<100*eps))
|
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Similar Triangles - find the height of the tree
203 Solvers
177 Solvers
343 Solvers
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!