Question: please help with matlab. And please show the scripts and function windows. thanks! MET321 Analytical Tech. Due: Thursday, April 12 Homework 16 Problem 1 Rotational



please help with matlab. And please show the scripts and function windows. thanks!
MET321 Analytical Tech. Due: Thursday, April 12 Homework 16 Problem 1 Rotational speed can be red in revolutions pe minute (rpan) or in racin per secod (rad/s). Writes MATLAB function called hvpi lastnane that not as input rotational speed in rpm and provides output the rotational speed in ads. For example if the input is 60 rpm, the output should be 6.283185 rad/s. The function should also print a line on the screen that says: Rotational Speed: 60 rpm - 5.238 rad/a Notice the rad/s value is limited to 3 decimal places Problem 2 your function free from 1 to court the following In a separate script file called hus laste value to s DO . 5200 m Problem 3 A power screw such led trews of lathes and screws for vises, press and jacks are used to transit power, and change angular motion into linear motion. When used in a jack, the power screws lift a load by using an external toque T given by T (1) Here, dis the m an diameter of the screw thread, f is the coefficient of friction, and is the love of the screw. The band can be calculated from Ip where is the number of starts on a thread. If the ide diameter, d, and pitch, P, is know the mean diameter can be calculated from as inputs Write a matlab function called hus_p3 lastnane that we outside diameter (mm) number of starts coefficient of friction kl (N and return the targets the output. Your code should also print a line to the command window formation follow Torque - XX.XX No Here the torque should be given to 2 decimal places and have the units point afterward. Problem 4 In your hwi lastnine file, use your function from problem 3 to calculate the torqon for the following inputs: coefficient of friction - 0.08 pitch = 1 mm Force - 6400 N number of starts2 outside diameter 32 mm Problem 5 In your hw4_lastnane file, use your function from problem 3 to calculate the torque when the force is allowed to vary from 0 to 10000 N. Keep all other values the same as in problem 1. except create two curves on the same plot, one for a single start screw (nl) and one for a double start screw ( 2). Note you may need to modify your function from problem 3 in order for it to calculate the torque needed for the plot. Problem 6 In your hu lastname file, add a legend which identifies the curly minber of arts. Make the curve for the single wart screw black and a solid line. Make the curve for the double start screw rodu dash-dot line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
