Cody

Solution 1938645

Submitted on 16 Sep 2019
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)

Error: File: ComputeWindChill.m Line: 3 Column: 1 The end operator must be used within an array index expression. Error in Test1 (line 2) wc_result1 = ComputeWindChill(32, 10);

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

Error: File: ComputeWindChill.m Line: 3 Column: 1 The end operator must be used within an array index expression. Error in Test2 (line 2) wc_result2 = ComputeWindChill(10, 20);

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

Error: File: ComputeWindChill.m Line: 3 Column: 1 The end operator must be used within an array index expression. Error in Test3 (line 2) wc_result3 = ComputeWindChill(20, 2);