Question: MATLAB PROBLEM - [PLEASE DO NOT WRITE ON PAPER] Assignment 5: User Defined Functions PLEASE SOLVING USING 'FUNCTION MAIN' 1. Write a function that will

MATLAB PROBLEM - [PLEASE DO NOT WRITE ON PAPER]

Assignment 5: User Defined Functions

PLEASE SOLVING USING 'FUNCTION MAIN'

MATLAB PROBLEM - [PLEASE DO NOT WRITE ON PAPER] Assignment 5: User

1. Write a function that will compute the volume and surface area of a rectangular prism whern provided with the object's 3 numerical dimensions. In other words, the function should be givern three inputs (height, width and depth) and return two outputs (the volume and surface area). Show the following test cases (use a loop for the test cases): b. heignt:1 width:8 depth:4 c. height: 2 width:2 depth:10 Write a user-defined function (not an anonymous function) for the following math function: The function should accept x as its input and it should return y. Write the function such that x 2. y(x) = 0.9x4e-0.1x-15X2-5X can be a vector. a. Use the function to calculate y(-2) and y(4) b. Use the function to make a plot of the function y(x) for -3 sx s 5 Write a function that will convert Fahrenheit into both Celsius and Kelvin. The function should have one input and two outputs. Have the script present the results. Show calculations the following test cases: (Note, you may use. C 3. ='E-32 and-F+4596, ) 1.8 a. 212 F b. 14F c. -55F

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!