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

thanks Solve (by hand) equation (1.23). You should obtain the general solution X

ID: 2987492 • Letter: T

Question

thanks

Solve (by hand) equation (1.23). You should obtain the general solution X = [4,0,0]t + s[-2,1,0]t + t[-3,0,1]t where s and t are arbitrary parameters. Then do (a)-(c). x + 2y + 3z = 4 Use the MATLAB command "rand" to create a "random" element C of the span of the vectors V = [-2,1,0]t and W = [-3,0, l]t. (See page21.) Note: When entering matrices into MATLAB, one can use semicolons (";") to separate columns. Thus, we could enter the column vector V into MATLAB as V=[-2;1;0]. Repeat 1a-1c for system (1.18) on page 33 whose solution appears on page 35. Specifically, (a) create a random element C in the span of V = [-2,1,1,0]t and W = [-2,1,0,1]t. Then (b) substitute C + [-1,1,0,0]t into each equation in system (1.18) and (c) substitute C into each equation in the system. Does the conjecture you made in Exercise 1 above still hold? Can you prove it?

Explanation / Answer

.a)v=[-2;1 ;0];

w=[-3;0;1];

c=rand();

s=c*v+(1-c)*w


b)x=[4 ; 0;0];

if x(1)+2*x(2)+3*x(3)==4

disp('correct');

end


%it will display 'correct'