can u help me with 5 End 4. Write a program, which converts C (Celsius) to F (Fa
ID: 1868064 • Letter: C
Question
can u help me with 5
End 4. Write a program, which converts C (Celsius) to F (Fahrenheit) F (9*C) 5 +32 Display two columns of temperature data, Celsius and Fahrenheit. The first column is from -10 to 50 degrees Celsius in steps of 10 degree. The second column is the equivalent Fahrenheit degrees. 5. Using the linspace command, generate a t row vector with 120 points from -5 to 15. Then generate y cos( 2t) sin( 2t) and plot y vs. t, with y - red dash-dot line, up-triangle markers, give it the title "sine plus cosine waves".Explanation / Answer
clc
clear all
t=linspace(-5,15,120);
y=cos(2*pi*t)+sin(2*pi*t);
plot(t,y,'-.^r')
title('sine plus cosine waves')
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.