Question: using MATLAB Home Work 3.2 1. Write a user-written function that will calculate volume and area of a cylinder for dimensions, the height and the

Home Work 3.2 1. Write a user-written function that will calculate volume and area of a cylinder for dimensions, the height and the radius provided by the user 2. For the cylinder in the 01 if we are required to paint the complete cylinder find how much paint is required 3. If the cylinder in Q1 is made up of Aluminum, find how much would be the material cost involved. 4. Now print all the results/details using 'fprintf0' Hints for HW3.2: Use input() to get height and radius of the cylinder Use geometrical formulas to get volumebase_area"height) and surface area of the cylinder(base_circumference*height+base_area*2) Find rate of Aluminum from online resources(Google,etc)eg. 0.855/1b Find mass of the cylinder using density of Aluminum and use the rate you found Use fprintf() to print a statement which gives all the details that were asked in the HW3.2 including the specifications of the cylinder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
