Cody

Problem 2509. Wind Chill Computation

Solution 3797408

Submitted on 23 Nov 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
wc_correct1 = 23.1871; wc_result1 = ComputeWindChill(32, 10); assert(abs(wc_result1 - wc_correct1) < 0.0001)

ans = -16.5915

Assertion failed.

2   Fail
wc_correct2 = -9.0101; wc_result2 = ComputeWindChill(10, 20); assert(abs(wc_result2 - wc_correct2) < 0.0001)

ans = -22.8989

Assertion failed.

3   Fail
wc_correct3 = 17.4215; wc_result3 = ComputeWindChill(20, 2); assert(abs(wc_result3 - wc_correct3) < 0.0001)

ans = -1.7958

Assertion failed.

Suggested Problems

More from this Author6

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!