Hi, Can someone help me with this question Part C only. Please be as clear as po
ID: 3168349 • Letter: H
Question
Hi,
Can someone help me with this question Part C only.
Please be as clear as possible.
Thanks in advance.
hw2.pat-Adobe Acrobat Reader DC File Edit View Window Help 0 PowerPcint Present... Sign In Home Tools hwe.pdf Given a voctor of external forces b at any of the positions 1-13, we can compute the forces x F, F2,..., Fi] by solving the system Export Por Ax = b. Create PDF Edit PDF Comment Combine Files where A is given by -10 0 00 0 0 00 0 0 -8 0 0 0 0 0 0 0-1-8 0 0 0 0 1 0 00 0 0 0 0 0 0 0 0 0 00 0 00 0 001 0 0 0 0 0 0 0 0 00 -0 0 0 - 0 0 00 -1 -0 -00 0 0 0 0 0 0-1 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 01 A Adobe Acrobat Pro DC Cconbine v or iles intn a single PDF Learn more 0 0 00 s0 0 0 0 0 0 0 1-1 0 00 00 0 0 00 0 0 00 1 0 0 00 O Organize Pages and -V2/2 Fill &Sign; We will solve for the vector of forces x assuming that there are 5 ton vchicles sitting at nodes 6,7 and 8. This mcans that b [0,0,0,0,0,0,0,0,5,0,5,0,5] Send for Signature (a) Solve for x using the LU-decomposition. (Use the lu conand.) Save the … Send & Track intermediate answer y as A4.dat and the final answer x as A5.dat (b) Solve for x using the hackslash command. Save your answer as A6.dat Store and sharc files in the Dexcurment Cloud (c) Now snppose that we add weight to the middle truck (which corresponds Learn Mar to the 11th entry of b) in increments of 0.01 tons until the bridge collapses 551 AM O lype here to search FNG 10/17/2017Explanation / Answer
%%% Part c
%%% Matlab code %%%
clc;
clear all;
close all;
format long
%%% restoredefaultpath %%%
s=1/sqrt(2);
A(1,:)=[-s 1 0 0 0 0 0 0 0 s 0 0 0];
A(2,:)=[-s 0 0 0 0 0 0 0 -1 -s 0 0 0];
A(3,:)=[0 -1 1 0 0 0 0 0 0 0 0 0 0 ];
A(4,:)=[ 0 0 0 0 0 0 0 0 0 0 -1 0 0];
A(5,:)=[0 0 -1 s 0 0 0 0 0 0 0 -s 0];
A(6,:)=[0 0 0 -s 0 0 0 0 0 0 0 -s -1];
A(7,:)=[0 0 0 -s -1 0 0 0 0 0 0 0 0];
A(8,:)=[0 0 0 0 1 -1 0 0 0 0 0 0 0];
A(9,:)=[0 0 0 0 0 0 0 0 0 0 0 0 1];
A(10,:)=[0 0 0 0 0 1 -1 0 0 -s 0 s 0];
A(11,:)=[0 0 0 0 0 0 0 0 0 s 1 s 0];
A(12,:)=[0 0 0 0 0 0 1 -1 0 0 0 0 0 ];
A(13,:)=[ 0 0 0 0 0 0 0 0 1 0 0 0 0];
[l u]=lu(A);
a=0;
temp=1;
while ( temp)
b=[ 0 0 0 0 0 0 0 0 5 0 5+a 0 5]';
k=l;
x=uk;
x_max = norm(x,Inf);
if x_max > 30
temp=0;
break;
else
a=a+0.01;
end
end
xw_middle= x(7);
fprintf('Lowst weight of middle truk = %f ton for which bridge collaps ', xw_middle);
OUTPUT:
Lowst weight of middle truk = 17.500000 ton for which bridge collaps
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.