Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Truss problem with MATLAB

  1. May 11, 2009 #1
    Ok, I've had a shot at this problem we've been given in MATLAB. Though I'm very new to physics forums.

    I've attached the actual problem and also a few of my equilibrium equations.

    I've written out the matrice in matlab but I'm guessing its incorrect as the answer I'm getting in Matlab is...

    A =

    Columns 1 through 12

    1.0000 0 0 0.7807 1.0000 0 0 0 0 0 0 0
    0 1.0000 0 0.6249 0 0 0 0 0 0 0 0
    0 0 0 0 -1.0000 0 0 0 1.0000 0 0 0
    0 0 0 0 0 -1.0000 0 0 0 0 0 0
    0 0 0 0 0 0 0 -0.7807 -1.0000 0 0 0.7807
    0 0 0 0 0 0 0 -0.6249 0 -1.0000 0 -0.6249
    0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0
    0 0 1.0000 0 0 0 0 0 0 0 0 0
    0 0 0 -0.7807 0 0 1.0000 0.7807 0 0 0 0
    0 0 0 -0.6249 0 1.0000 0 0.6249 0 0 0 0
    0 0 0 0 0 0 -1.0000 0 0 0 1.0000 0
    0 0 0 0 0 0 0 0 0 -1.0000 0 0
    0 0 0 0 0 0 0 0 0 0 -1.0000 -0.7807
    0 0 0 1.0000 0 0 0 0 0 0 0 0

    Columns 13 through 16

    0 0 0 0
    0 0 0 0
    0 0 0 0
    0 0 0 0
    1.0000 0 0 0
    0 0 0 0
    -1.0000 0 1.0000 0
    0 -1.0000 0 0
    0 0 -1.0000 -0.7807
    0 0 0 -0.6249
    0 0 0 0
    0 0 0 0
    0 0 0 0
    0 0 0 0
    0 0 0 0.7807
    -0.6249 0 0 0.6249


    b =

    20
    0
    0
    -10
    0
    -20
    0
    -10
    0
    20
    0
    0
    0
    0
    0
    0


    x =

    20.0000
    -394.7389
    -334.7389
    631.6860
    -493.1616
    10.0000
    12.4934
    615.6834
    -493.1616
    0
    12.4934
    -583.6781
    443.1882
    10.0000
    443.1882
    -567.6755

    Results:

    x(Ha)=20 [kN]
    x(Va)=-394.7389 [kN]
    x(1)=-334.7389 [kN]
    x(2)=631.686 [kN]
    x(3)=-493.1616 [kN]
    x(4)=10 [kN]
    x(5)=12.4934 [kN]
    x(6)=615.6834 [kN]
    x(7)=-493.1616 [kN]
    x(8)=0 [kN]
    x(9)=12.4934 [kN]
    x(Ve)=-583.6781 [kN]
    x(10)=443.1882 [kN]
    x(11)=10 [kN]
    x(12)=443.1882 [kN]
    x(13)=-567.6755 [kN]

    I've written all the equilibrium equation from Horizontal forces Equation 1, Vertical Forces @A Equation 2...but the calculations which I performed by myself I got respectable answers.. But with MATLAB it doesn't appear to give me appropriate answers....

    Can anyone help or point me in the right direction.

    Many Thanks
     

    Attached Files:

  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Truss problem with MATLAB
  1. Matlab problem (Replies: 4)

  2. Matlab problem (Replies: 0)

  3. MATLAB problem (Replies: 5)

  4. MATLAB problem (Replies: 1)

Loading...