Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
assert(abs(need2(1)-1)<0.001)
ans =
1
|
2 | Pass |
%%
assert(abs(need2(2)-0.6667)<0.001)
ans =
0.6667
|
3 | Pass |
%%
assert(abs(need2(10)-0.5263)<0.001)
ans =
0.5263
|
4 | Pass |
%%
assert(abs(need2(100)-0.5025)<0.001)
ans =
0.5025
|
5 | Pass |
%%
assert(abs(need2(1000)-0.5003)<0.001)
ans =
0.5003
|
Check to see if a Sudoku Puzzle is Solved
279 Solvers
Back to basics 24 - Symbolic variables
129 Solvers
How long is the longest prime diagonal?
338 Solvers
Cell Counting: How Many Draws?
581 Solvers
250 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!