Type solutions of this question in a word processor (e.g. Microsoft word) Translate the following into MATLAB statements and write down the expression which can be used in MATLAB. Part (a)is given as a demo (a) Find the average of three numbers stored in variables x, y and x and store the results in variable avg Solution: avg-(xty+z)/3 Or avg-mean([x y z]) (b) Multiply by 2 to the value of square root of the sum of x, y and z, then store the result in variable g (c) Add 3 to the cube root of average of x and y and store the result in variable n. (d) Convert from degrees Centigrade stored in variable C to degrees Fahreinheit and assign the answer to variable F (e) Calculate the value of Z given that x is in radians and (f) Calculate the value of G, given that G = sin-(x)+23/cos(x) tan(x) – and E, R, w.L and C are variables.

(a) Already done in question
(b) g = sqrt(x+y+z)*2
sqrt – square root of the input argument
(c) n = (mean([x y])^(1/3))+3
^ – used to find the exponent
mean – mean of input arguments
(d) F = C * 1.8 + 32
(e) Z = sqrt((sin(x)^2 + 23*sqrt(cos(x)))/(tan(x)^(1/3)))
(f) G = E/sqrt(R^2 + (2*pi*w*L – 1/(2*pi*w*C))^2)
pi – can be used to get the value of pi directly in matlab
 
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”

What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"