Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need this problem answered with matlab and I need to see the code. Also to get

ID: 2074885 • Letter: I

Question

I need this problem answered with matlab and I need to see the code. Also to get a thumbs up you need to solve it like the dircetions say which is to use the Gauss Eliminiation method with pivoting and Cramers Rule. I would appreciate it if you solved this for me and as the directions say. Thanks so much. The algorithm that needs to be followed is also psoeted. Please show the code following with the algorithm format.

QUESTION 3: (Problem 9.15) A truss is loaded as shown in Fig. P9.15. Using the following set of equations, solve for the 10 unknowns, AB, BC, AD, BD, CD, DE, CE, Ax, Ay, and Ey, using Gauss Elimination with pivoting and Cramer's rule**. (*extra credit) 24 kN 74 kN- 4 m 3 m 3 m FIGURE P9.15 24-CD-(4/5)CE = 0 74 + BC + (3/5) BD = 0 CD+(4/5) B D =0 -DE-3/5)CE=0 E, + (4/5)CE = 0

Explanation / Answer

clc % Clear Screen
clear all; % Clear Workspace
syms AB BC AD BD CD DE CE Ax Ay Ey % Define all Variables as Symbols
eq1=Ax+AD==0; % Equation 1
eq2=Ay+AB==0; % Equation 2
eq3=74+BC+(3/5)*BD==0; % Equation 3
eq4=-AB-(4/5)*BD==0; % Equation 4
eq5=-BC+(3/5)*CE==0; % Equation 5
eq6=-24-CD-(4/5)*CE==0; % Equation 6
eq7=-AD+DE-(3/5)*BD==0; % Equation 7
eq8=CD+(4/5)*BD==0; % Equation 8
eq9=-DE-(3/5)*CE==0; % Equation 9
eq10=Ey+(4/5)*CE==0; % Equation 10
[data_out]=solve(eq1,eq2,eq3,eq4,eq5,eq6,eq7,eq8,eq9,eq10); % Solve all equations together
fprintf('AB=%f BC=%f AD=%f BD=%f CD=%f DE=%f CE=%f Ax=%f Ay=%f Ey=%f ',double(data_out.AB),double(data_out.BC),double(data_out.AD ),double(data_out.BD ),double(data_out.CD ),double(data_out.DE ),double(data_out.CE ),double(data_out.Ax ),double(data_out.Ay ),double(data_out.Ey)); % print all equation variables in double precision

Output:

AB=37.333333
BC=-46.000000
AD=74.000000
BD=-46.666667
CD=37.333333
DE=46.000000
CE=-76.666667
Ax=-74.000000
Ay=-37.333333
Ey=61.333333

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote