Question: Read Chapter 8, Linear Algebraic Equations and Matrices, in Chapra's textbook. Perform the same computation as in Example 8.2, but with the mass of the

Read Chapter 8, "Linear Algebraic Equations and Matrices," in Chapra's textbook. Perform the same computation as in Example 8.2, but with the mass of the top jumper changed to 65 kg instead of 60 kg. The characteristics (mass of jumpers, spring constant of cords, etc.) should be treated as inputs to your function. Hint: Use the backslash, or "left-division" operator "" in MATLAB to solve the resulting system of linear equations. Read Chapra Chapter 8.2 for details. Function Save C Reset LOMATLAB Documentation 1 function [x,xf]=Chapra_E8_2(m,k,1,g) 2 %% Input 3 % m: masses of jumpers (1 X Number of jumpers row vector) 4 % k: spring constants of bungee chords (1 X Number of jumpers row vector) 5 % L: unstretched length of bungee chords (scalar, assumes all cords are the same initial length) 6 % g: gravitational constant (scalar) 7 % 8 %% Output 9 % X: bungee jumper displacements relative to starting location 10 % (1 X Number of jumpers row vector) 11 % xf: jumper equilibrium positions relative to their the anchor point 12 % of the top bungee chord (1 X Number of jumpers row vector) 13 % See Figure 8.6 in Chapra's textbook. 14 15 %% Write your code here. 16 17 end 18 Read Chapter 8, "Linear Algebraic Equations and Matrices," in Chapra's textbook. Perform the same computation as in Example 8.2, but with the mass of the top jumper changed to 65 kg instead of 60 kg. The characteristics (mass of jumpers, spring constant of cords, etc.) should be treated as inputs to your function. Hint: Use the backslash, or "left-division" operator "" in MATLAB to solve the resulting system of linear equations. Read Chapra Chapter 8.2 for details. Function Save C Reset LOMATLAB Documentation 1 function [x,xf]=Chapra_E8_2(m,k,1,g) 2 %% Input 3 % m: masses of jumpers (1 X Number of jumpers row vector) 4 % k: spring constants of bungee chords (1 X Number of jumpers row vector) 5 % L: unstretched length of bungee chords (scalar, assumes all cords are the same initial length) 6 % g: gravitational constant (scalar) 7 % 8 %% Output 9 % X: bungee jumper displacements relative to starting location 10 % (1 X Number of jumpers row vector) 11 % xf: jumper equilibrium positions relative to their the anchor point 12 % of the top bungee chord (1 X Number of jumpers row vector) 13 % See Figure 8.6 in Chapra's textbook. 14 15 %% Write your code here. 16 17 end 18
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
