% 3D-Fachwerk aus dem Aufgaben-Pool des Kapitels "Raeumliche Probleme"
clear all

%       1       2        3        4     5      6       7  8  9  A  B  C  D E  F
A= [  1/3.5,    0   ,    0   ,    0   , 0, 2/sqrt(13), 0, 1, 0, 0, 0, 0, 0,0, 0;   %Ix
    1.5/3.5,    0   ,    0   ,    0   , 0, 3/sqrt(13), 0, 0, 1, 0, 0, 0, 0,0, 0;   %Iy
      3/3.5,    0   ,    0   ,    0   , 0,     0     , 0, 0, 0,-1, 0, 0, 0,0, 0;   %Iz
     -1/3.5,   1/3.5,   1/3.5,  -1/3.5, 0,     0     , 0, 0, 0, 0, 0, 0, 0,0, 0;   %IIx
   -1.5/3.5,-1.5/3.5, 1.5/3.5, 1.5/3.5, 0,     0     , 0, 0, 0, 0, 0, 0, 0,0, 0;   %IIy
     -3/3.5,  -3/3.5,  -3/3.5,  -3/3.5, 0,     0     , 0, 0, 0, 0, 0, 0, 0,0, 0;   %IIz
        0  ,    0   ,    0   ,   1/3.5, 1,     0     , 0, 0, 0, 0, 0, 0, 0,0,-1;   %IIIx
        0  ,    0   ,    0   ,-1.5/3.5, 0,     0     , 0, 0,-1, 0, 0, 0, 0,1, 0;   %IIIy
        0  ,    0   ,    0   ,   3/3.5, 0,     0     , 0, 0, 0, 0, 0, 0, 0,0, 0;   %IIIz
        0  ,  -1/3.5,    0   ,    0   , 0,     0     , 0,-1, 0, 0, 0, 0, 0,0, 0;   %IVx
        0  , 1.5/3.5,    0   ,    0   , 0,     0     , 1, 0, 0, 0, 0, 0, 0,0, 0;   %IVy
        0  ,   3/3.5,    0   ,    0   , 0,     0     , 0, 0, 0, 0,-1, 0, 0,0, 0;   %IVz
        0  ,    0   ,  -1/3.5,    0   ,-1,-2/sqrt(13), 0, 0, 0, 0, 0, 0, 0,0, 0;   %Vx
        0  ,    0   ,-1.5/3.5,    0   , 0,-3/sqrt(13),-1, 0, 0, 0, 0, 0, 1,0, 0;   %Vy
        0  ,    0   ,   3/3.5,    0   , 0,     0     , 0, 0, 0, 0, 0,-1, 0,0, 0] ; %Vz

b = [ 0 ; 0 ; 0 ; -1 ; 1 ; 1 ; 0 ; 0 ; 0 ; 0 ; 0 ; 0 ; 0 ; 0 ; 0 ] ;

% Reihenfolge der Unbekannten im Ergebnisvektor x:
% FS1, FS2, ... FS9, FA, FB, FC, FD, FE, FF.

x = A\b 