title: Using an algorithm in matlab:Determine the displacements u_{i} of the joints
body: <p><img src="https://i.stack.imgur.com/beTkr.png" alt="enter image description here"></p>
  
  <p>The displacement formulation for a plane truss is similar to that of a mass–spring system. The differences are
  (1) the stiffnesses of the members are k_{i} = (EA/L)_{i},
  where E is the modulus of elasticity, A represents the cross-sectional area, and
  L is the length of the member;
  (2) there are two components of displacement ateach joint. For the statically indeterminate truss shown, the displacement formulation yields the symmetric equations Ku = p, where</p>
  
  <p><img src="https://i.stack.imgur.com/Ilw0S.png" alt="enter image description here"></p>
  
  <p>Determine the displacements u_{i} of the joints</p>
  
  <p>Using an algorithm in matlab</p>
  
  <p>Could someone help me with the algorithm?</p>
  
  <p>Thanks for your help</p>