Question: Please solve using MATLAB. Will rate. Problem5: (ME3400 Enginccring Dynamics) Construction of functions and use of numcrical solvers to solve engincering problems Consider the slider
Please solve using MATLAB. Will rate.

Problem5: (ME3400 Enginccring Dynamics) Construction of functions and use of numcrical solvers to solve engincering problems Consider the slider crank mechanism (commonly found in an engine crank shaft and piston assembly). The position of the point P is denoted by s(t). From gcometry, we have where is the angle between the bar on the right and the horizontal. For this problem, we have t,0.2 m and t2-0.4 m. 200 mm The two angles are related by the law of sines Differentiating equation (I) with respect to time gives the velocity of the point P ds dt dt dt From equation (2), the angular velocities are related by dt do dt a) Suppose2 rad/s (constant), determine the velocity of P when -1 rad b) Suppose o -2rad/s (constanD, plot the velocuy of P for 0.5s 0515 rad dt Critical thinking: This is a typical engineering problem that involves several cquations. A simple approach is to just code the formulas. A more robust approach is to write separate functions. Start with eqn. (3), which defines the velocity of the pin. The velocity depends on the parameters I , and 2 , and the independent variable U (note that the angle depends on t: see eqn. (2). Write a function that detines the velocty of the pin. This tunction calls separate functions that detine the angular speeds dajdt and dojdt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
