Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
nMax = 10;
y_correct = 3.041840000000000;
assert(isequal(pi_est1(nMax),y_correct))
estimate =
3.0418
|
2 | Pass |
nMax = 1000;
y_correct = 3.140593000000000;
assert(isequal(pi_est1(nMax),y_correct))
estimate =
3.1406
|
3 | Pass |
nMax = 1e6;
y_correct = 3.141592000000000;
assert(isequal(pi_est1(nMax),y_correct))
estimate =
3.1416
|
Sort a list of complex numbers based on far they are from the origin.
4326 Solvers
Arrange Vector in descending order
4074 Solvers
Back to basics 11 - Max Integer
678 Solvers
Flip the main diagonal of a matrix
506 Solvers
Matlab Basics - Convert a row vector to a column vector
419 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!