main

prev        

Statement of a problem № m101379



Two masses are attached to a wall by linear springs. Force balances based on Newton s second law can be written as Where k = the spring constants, m = mass, L = the length of the unstretched spring, and w = the width of the mass. Compute the positions of the masses as a function of time using the following parameter values: k1 = k2 = 5, m1 = m2 = 2, w1 = w2 = 5, and L1 = L2 = 2. Set the initial conditions as x1 = L1 and x2 = L1 + w1 + L2 + 6. Perform the simulation from t = 0 to 20. Construct timeseries plots of both the displacements and the velocities. In addition, produce a phase-plane plot of x1 versus x2.




New search. (Also 1294 free access solutions)

Online calculators