# Develop Matlab Scripts Files Extension M Matlab Part Saved Separate M File Run Scripts Wri Q26159938 Develop matlab scripts (files with extension·m) in MATLAB. Each part should be saved in a separate ‘m file. Run your scripts and write the answers at the bottom ofthe script as comments. Solutions of this question should not be types in word processor. Part (a) is given as a demo and file is attached with the assignment (a) Find the average of x.y, and z given that x cos(n 5). y-92,z 0.78 CS680 MATLAB PART Assignment01.docx Page 1 of 3 Solution Filename: Q2a.m xcos(pi/5); y 92; z-0.78; avg-(x+y+z) % answer: % avg=93.5898 (b) Given that x= cos(π/5), y-92, z-078, Multiply by 2 to the value of square root of the sum of x, y, z and store the result in variable g. What is the value of g? (c) Add 3 to the cube root of average of x and y, and store the result in variable n. What is the value of n? (d) Given that C40 degrees Centigrade. Convert C to degrees Fahreinheit and assign the answer to variable F. What is the value of F? sin(x)+23 r) (e) Calculate the value of Z given that x= 6 radians and z What – tan(x) is the value of z? (f) Calculate the value of G, given that G= and R-10, C-19×10. L=4×10″. E-30 and w=4.5. What is the value ofG? Show transcribed image text