quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-13

السؤال

Transcribed Image Text:

Problems 1. The wind chill factor measures how cold it feels with a given air temperature and a given wind speed. One formula for the wind chill factor is W = 35.7 +0.67+ (0.437 - 35.7) V0.16, where W is the wind chill factor, T is the temperature in degrees Fahrenheit, and V is the wind speed in miles per hour. Write a Matlab function called windchill.m which will calculate the wind chill factor. Your function should use the input parameters temp and speed, and the output parameter chill. Your function should work if both input parameters are scalars, if one is a scalar and one is a vector, and if both are vectors of the same length. Function specifications and some sample function calls are given below. input parameters temp speed temperature in degrees Fahrenheit wind speed in miles per hour output parameter chill wind chill factor sample function calls windchill (30,10) windchill (30:5:40,10) windchill (30,10:5:20) windchill ([30,35], [10,15]) produces 20.7440 produces [20.7440,26.8517,32.9594] produces [20.7440, 18.5351, 16.8787] produces [20.7440, 24.8511]

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top