EX10 11/1/2018

1) Solve T1, T2, T3

T1+T2+T3 -400 = 0

1600-10*T2-5*T3=0

2)Solve x, y, z

12x-5y=11

-3x+4y+7z=-3

6x+2y+3z=22

3) See the whiteboard

 

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to EX10 11/1/2018

  1. Joel Sanchez says:

    %%JOEL SANCHEZ
    %% CLASSWORK EX10 11/1/2018
    %%1.)
    %Solve for T1 T2 T3
    %T1+T2+T3 -400 = 0
    %1600-10*T2-5*T3=0
    A=[1,1,1;0,-10,-5];
    B=[400;-1600];
    C=A\B
    %%2.)
    % SOLVE FOR x y z
    %12x-5y=11
    %-3x+4y+7z=-3
    %6x+2y+3z=22
    A=[12,-5,0;-3,4,7;6,2,3];
    B=[11;-3;22];
    C=A\B
    %%3.)
    %Solve for T1 T2 T3
    A=[(1/sqrt(35)),(-3/sqrt(34)),(1/sqrt(42));(3/sqrt(35)),(0),(-4/sqrt(42));(5/sqrt(35)),(5/sqrt(34)),(3/sqrt(42))];
    B=[0;0;1];
    C=A\B

  2. David Le says:

    %% David Le

    % 1.
    % Solve T1, T2, T3
    % T1+T2+T3 -400 = 0
    % 1600-10*T2-5*T3=0

    A = [1 1 1;0 -10 -5];
    B = [400;-1600];
    C = A\B

    % 2.
    % Solve x, y, z
    % 12x-5y=11
    % -3x+4y+7z=-3
    % 6x+2y+3z=22

    A = [12 -5 0;-3 4 7;6 2 3];
    B = [11;-3;22];
    C = A\B

    % 3.
    % Solve T1, T2, T3
    % (T1/sqrt(35))-(3*T2/sqrt(34))-(T3/sqrt(42))=0
    % (3*T1/sqrt(35))-(4*T3/sqrt(42))=0
    % (5*T1/sqrt(35))-(5*T2/sqrt(34))-(3*T3/sqrt(42))-mg=0
    % mg = 1

    A = [(1/sqrt(35)),(-3/sqrt(34)),(1/sqrt(42));(3/sqrt(35)),(0/sqrt(34)),(-4/sqrt(42));(5/sqrt(35)),(5/sqrt(34)),(3/sqrt(42))];
    B = [0;0;1];
    C = A\B

Leave a Reply

Your email address will not be published. Required fields are marked *