000 eel m2 reeel - le 0 6. Optimal 2 [20 points]: Consider the mass-spring system shown in the figure (panel (a) shows t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
000 eel m2 reeel - le 0 6. Optimal 2 [20 points]: Consider the mass-spring system shown in the figure (panel (a) shows t
000 eel m2 reeel - le 0 6. Optimal 2 [20 points]: Consider the mass-spring system shown in the figure (panel (a) shows the system before release and panel (b) shows the system after release and reaching equilibrium). If k= 10 kg/s?, and m m = 2 kg, m2 = 3 kg, m3 = 2.5 kg, then the resulting system of equations for the displacements at equilibrium is 30-20 [19.61 1-20 30 -10 | 29.41 -10 10 124.5) my Use the Gauss-Seidel code with relaxations to answer the following (a) If the stopping criterion is -1x10-6%, how many iterations are needed to get the unknown displacements using Gauss-Seidel? (a) (6) (6) If the stopping criterion is e=1x10 %, how many iterations are needed to get the unknown displacements using Gauss-Seidel with R=1.42 (c) Write a MATLAB script that invokes your Gauss-Seidel code and use it to calculate the unknown displacements up to a stopping criterion of Es=lx106%. The script should vary between 0.1 and 1.9 and it should store the number of iterations needed for convergence for every value of 2. Attach this script with your solution. (d) Plot the number of iterations vs. L. and determine the value of 2 that achieves fastest convergence. ******