quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryالهندسة الميكانيكية schoolبكالوريوس event_available2026-07-14

السؤال

Transcribed Image Text:

2. Consider the spring-mass system shown below: L₁ L₂ k₁ k₂ m₁ -mon m₂ Χ Force balances based on Newton's second law results in the following equaitons. -(x1 - L₁) + k2 d²x₁ dt² k₁ (x2x1 w₁ L2) mi mi d²x2 dt2 k2 = (x2x1w1-L2) m2 where k = the spring constants, m = mass, L = the length of the unstretched spring, and w the width of the mass. Using ode45, compute the positions of the masses as a function of time using the following parameter values: k1 = 2 k2= 6, m1 = m2 = 4, W1=5 W2 =5, and L1 L2 =1. Set the initial conditions as x₁ =L₁+1 and x2 =L1 +W1 +2 +2. Initial velocities =0. Perform the simulation from t = 0 to 20. Using the subplot command, construct time-series plots of both the displacements and the velocities. i.e. plot both displacements on one set of axes and both velocities on another. In addition, produce a plot of x1 versus x2. Clearly label your plots and include legends. Paste your script and the plots into a

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top