Consider the structure composed of a spring and a linear bar as shown in Fig. 3.6. Given E = 200 GPa, A = 0.01 m2, k = 1000 kN/m, and P = 25 kN, determine:
1. the global stiffness matrix for the structure.
2. the displacement at node 2.
3. the reactions at nodes 1 and 3.
4. the stress in the bar.
5. the force in the spring.