Question: Part I ( 5 0 pt ) We analyze a static mechanical spring - mass system with four masses ( similar to the textbook example

Part I (50 pt) We analyze a static mechanical spring-mass system with four masses (similar to the
textbook example), as illustrated in Figure 1.
(a)
(b)
Figure 1. Static mechanical spring-mass system
Performing a static force balance on the four masses yields the following system of four linear
algebraic equations:
(K1+K2+K3+K4)x1-K2x2-K3x3-K4x4=W1
-K2x1+2(K2+K3)x2-K2x3-K3x4=W2
-K3x1-K2x2+(2K2+K3)x3-K2x4=W3
-K4x1-K3x2-K2x3+(K1+K2+K3+K4)4=W4
Here, the spring constants and the weights are as below:
K1=80,K2=40,K3=20, and K4=10;W1=100,W2=80,W3=60, and W4=100
You will find the displacements of four weights, x1,x2,x3, and x4. Present your answers using at
least eight decimal places.
(a) Convert the system of equations for this problem into the matrix form, i.e.,Ax=b. Find
the coefficient matrix A and the nonhomogeneous vector b.
(b) Solve the matrix equation by Cramer's rule using MATLAB. You can find the required
determinants using 'det' command.
(c) Find the solution (x1,x2,x3, and x4) using (i) Gauss Elimination and (ii) Gauss-Jordan
elimination, using MATLAB.
(d) Factorize the coefficient matrix A into a low triangular matrix L and an upper triangular
U. Show L and U, and find the solution (x1,x2,x3, and x4) using the matrices L and U.
Write a MATLAB code based on the LU algorithm, not using the command 'lu'.
Part I ( 5 0 pt ) We analyze a static mechanical

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!