Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help in matlab! Problem 1 Rotational speed can be measured in revolutions per minute (rpm) or in radian per second rad/s). Write MATLAB function

image text in transcribed

image text in transcribed

image text in transcribed

please help in matlab!

Problem 1 Rotational speed can be measured in revolutions per minute (rpm) or in radian per second rad/s). Write MATLAB function called by pi lastnano that accepts as input rotational speed in rpm and provides as output the rotational speed in /. For example if the input 60 pm, the output should be 6.283185 Tad/s. The function should also print a line on the screen that says: Rotational Speed: 60 pm - 6.238 rad/s Notice the rad/ value is limited to 3 decimal places. Problem 2 In a separate script file called but lastname, se your function from problem 1 to convert the following values to rais 60 rpm 1000 rpm 5200 rpm Problem 3 A power screw such as lead screws of lathes and screws for vises preses and jacks are used to transmit power, and change angular motion into linear motion. When used in a jack, the power screws lifts a load F by using an external torque T given by, Here, d, is the mean diameter of the screw thread, fis the coefficient of friction, and screw. The lead can be calculated from is the lead of the where n is the number of starts on a thread. If the outside diameter, d, and pitch, p, is known, the mean diameter can be calculated from di-didad Write a matlab function called hv_p3_lastnane that accepts as inputs: outside diameter (mm) pitch (mm) mumber of starts coefficient of friction load (N) and returns the torque as the output. Your code should also priut a line to the command window formatted as follows: Torque - xx.xx Nes Here the towe should be given to 2 decimal places and live the w i nterwand Problem 4 In your hw4_lastname file, use your function from problem 3 to calculate the torque for the following inputs: coefficient of friction 0.08 pitch - 4 mm Force 6400 N number of starts 2 outside diameter 32 mm In your hw4_lastname 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 (u 1) and one for a double start screw (u 2). Note you may need to modify your function from problem 3 in order for it to calculate the torque needed for the plot. In your hw4_lastname file, add a legend which identifies the curves by number of starts. Make the curve for the single start screw black and a solid line. Make the curve for the double start screw red and a dash-dot line

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Logic In Databases International Workshop Lid 96 San Miniato Italy July 1 2 1996 Proceedings Lncs 1154

Authors: Dino Pedreschi ,Carlo Zaniolo

1st Edition

3540618147, 978-3540618140

More Books

Students also viewed these Databases questions