Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please create a MatLab code for the following: 1. Create two separate function files that compute f() and g() based on input. 2. Create a

Please create a MatLab code for the following:

1. Create two separate function files that compute f() and g() based on input.

2. Create a function file that calculates position, linear velocity and linear acceleration of the piston based on the revolution of the crank n.

3. Calculate the position, linear velocity and linear acceleration of the piston for one revolution of the crank. Take a minimum of 200 equally spaced elements. 4.

Write an output file as Piston_rod_crank.dat that has title as Piston Rod Crank Mechanism with four vertical columns with headers over each columns as angle(degree) Position(x, m) Velocity (u, m/s) acceleration(a, m/s2 ).

5. Plot the position, linear velocity and linear acceleration of the piston in three different graphs. Make sure that all the curves are properly labeled.image text in transcribed

The piston-rod-crank mechanism is used in many engineering applications. Velocity and acceleration of the piston depend on crank arm length and angular velocity. The crank is rotating with a constant angular velocity 1500 rpm. di d2 is the angle made by the crank arm to the horizontal plane and is the angular velocity of the crank at which it is rotating. -0", when 1-0 The distances di and h are given by: d rg() and h-rf() where r is the arm length of the crank, f(9) and g(0) are the functions those dependent on the angle and are defined as: 1800)p1 2p + 0 is in degree p-0 1800)2 g(e)--12 0 is in degree The distance d can be calculated using the Pythagorean Theorem: The position x of the piston is given by: The linear velocity of the piston is given by: r2e f(20) re(e)72 The linear acceleration of the piston is given by 4r262g(20) (c2 rf (0) + (r (2)2 The piston-rod-crank mechanism is used in many engineering applications. Velocity and acceleration of the piston depend on crank arm length and angular velocity. The crank is rotating with a constant angular velocity 1500 rpm. di d2 is the angle made by the crank arm to the horizontal plane and is the angular velocity of the crank at which it is rotating. -0", when 1-0 The distances di and h are given by: d rg() and h-rf() where r is the arm length of the crank, f(9) and g(0) are the functions those dependent on the angle and are defined as: 1800)p1 2p + 0 is in degree p-0 1800)2 g(e)--12 0 is in degree The distance d can be calculated using the Pythagorean Theorem: The position x of the piston is given by: The linear velocity of the piston is given by: r2e f(20) re(e)72 The linear acceleration of the piston is given by 4r262g(20) (c2 rf (0) + (r (2)2

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

Online Systems For Physicians And Medical Professionals How To Use And Access Databases

Authors: Harley Bjelland

1st Edition

1878487442, 9781878487445

More Books

Students also viewed these Databases questions