Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
wc_correct1 = 23.1871;
wc_result1 = ComputeWindChill(32, 10);
assert(abs(wc_result1 - wc_correct1) < 0.0001)
windChill =
23.1871
|
2 | Pass |
wc_correct2 = -9.0101;
wc_result2 = ComputeWindChill(10, 20);
assert(abs(wc_result2 - wc_correct2) < 0.0001)
windChill =
-9.0101
|
3 | Pass |
wc_correct3 = 17.4215;
wc_result3 = ComputeWindChill(20, 2);
assert(abs(wc_result3 - wc_correct3) < 0.0001)
windChill =
17.4215
|
3878 Solvers
468 Solvers
Back to basics 13 - Input variables
203 Solvers
Getting the absolute index from a matrix
178 Solvers
194 Solvers