Question: Develop matlab scripts (files with extensionm) in MATLAB. Each part should be saved in a separate 'm file. Run your scripts and write the answers

 Develop matlab scripts (files with extensionm) in MATLAB. Each part should

Develop matlab scripts (files with extensionm) 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-19x10. L=4x10". E-30 and w=4.5. What is the value ofG

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!