Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

12:34 AM libproxy.library.unt.edu .ill T-Mobile steps of 0.5. Do this by creatin

ID: 3601741 • Letter: 1

Question

12:34 AM libproxy.library.unt.edu .ill T-Mobile steps of 0.5. Do this by creating a vector of valid grades and then use any or all in the condition in the while loop 34. Which is faster: using false or using logical (0) to preallocate a matrix to all logical zeros? Write a script to test this. Which is faster: using a switch statement or usinga nested if-else? Write a script to test this. 36. Write a script beautyofmath that produces the following output. The script should iterate from 1 to9 to produce the expressions on the left, perform the specified operation to get the results shown on the right and print exactly in the format shown here s> beauryomath 1x8-1-9 12x8+298 123x8+3 987 1234 x8+49876 12345-59876s 7x8+7-9876543 12345678x8 8 +9 987854321 7. The Wind Chill Factor (WCF) measures how cold it feels with a given air temperature T (in degrees Fahrenheit) and wind speed V (in miles per hour). One formula for WCF is WCF-35.7 0.6T-35.7 (e 043T( Write a function to receive the temperature and wind speed as input arguments, and return the WCF. Using loops, print a table showing wind chill factors for temperatures ranging from-20 to 55 in steps of 5 and wind speeds ranging from 0 to 55 in steps of 5. Call the function to calculate each wind chill factor 38. Instead of printing the WCFs in the previous problem, create a matrix of WCFs and write them to a file. Use the programming method, using nested loops. 39. Write a script that will prompt the user for N integers, and then write the positive numbers(0) to an ASCII file called pos.dat and the negative numbers to an ASCII file called neg.dat. Error-check to make sure that the user enters N integers.

Explanation / Answer

%here is the code, do comment if you have any doubt. Thumbs up if this helps!

function wf=find(temp, speed) %function to find wcf
wf=35.7+0.6*temp-35.7*(speed)^(0.16)+0.43*temp*speed^(0.16); %find wcf and return it
end

for temp=-20:5:55 %for loop for temperature ranges
for speed=0:5:55 %for loop for speed ranges
find(temp,speed) 5find and display the wcf for given temperature and speed
end
end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote