Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
T = 1;
lambda_correct = 1.057002706519664e-05;
assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);
ans =
1.0570e-05
|
2 | Pass |
T = 10;
lambda_correct = 1.023405587117661e-05;
assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);
ans =
1.0234e-05
|
3 | Pass |
T = 100;
lambda_correct = 7.765705265774241e-06;
assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);
ans =
7.7657e-06
|
4 | Pass |
T = 1000;
lambda_correct = 2.276065601008253e-06;
assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);
ans =
2.2761e-06
|
Is my wife right? Now with even more wrong husband
1241 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Find the largest value in the 3D matrix
1056 Solvers
516 Solvers
204 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!