ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Ejercicio Matalab


Enviado por   •  22 de Mayo de 2023  •  Exámen  •  6.048 Palabras (25 Páginas)  •  30 Visitas

Página 1 de 25

[pic 1]

        

E=2000000;

L1=400*sqrt(2); L2=400; L3=300; L4=L3; L5=500; L6=L5; L7=L2;

A=15;

t1=45; t2=0; t3=t2; t4=90; t5=323; t6=37; t7=t2;

Datos=[E A L1 t1;E A L2 t2;E A L3 t3;E A L4 t4;E A L5 t5;E A L6 t6;E A L7 t7]


Datos =

       2e+06           15       424.26           45
       2e+06           15          400            0
       2e+06           15          300            0
       2e+06           15          300           90
       2e+06           15          500          323
       2e+06           15          500           37
       2e+06           15          400            0

Barra1=Datos(1,:)


Barra1 =

       2e+06           15       424.26           45

Longitudes=Datos(:,3)


Longitudes =

      424.26
         400
         300
         300
         500
         500
         400

k1=[E*A/L1 -E*A/L1;-E*A/L1 E*A/L1]


k1 =

       53033       -53033
      -53033        53033

k2=[E*A/L2 -E*A/L2;-E*A/L2 E*A/L2]; k3=[E*A/L3 -E*A/L3;-E*A/L3 E*A/L3]; k4=[E*A/L4 -E*A/L4;-E*A/L4 E*A/L4]; k5=[E*A/L5 -E*A/L5;-E*A/L5 E*A/L5]; k6=[E*A/L6 -E*A/L6;-E*A/L6 E*A/L6]; k7=[E*A/L7 -E*A/L7;-E*A/L7 E*A/L7];

r1=[cosd(t1) sind(t1) 0 0;0 0 cosd(t1) sind(t1)]


r1 =

     0.70711      0.70711            0            0
           0            0      0.70711      0.70711

r2=[cosd(t2) sind(t2) 0 0;0 0 cosd(t2) sind(t2)]; r3=[cosd(t3) sind(t3) 0 0;0 0 cosd(t3) sind(t3)]; r4=[cosd(t4) sind(t4) 0 0;0 0 cosd(t4) sind(t4)]; r5=[cosd(t5) sind(t5) 0 0;0 0 cosd(t5) sind(t5)]; r6=[cosd(t6) sind(t6) 0 0;0 0 cosd(t6) sind(t6)]; r7=[cosd(t7) sind(t7) 0 0;0 0 cosd(t7) sind(t7)];

 

L1=300*sqrt(2);

k1=[E*A/L1 -E*A/L1;-E*A/L1 E*A/L1]


k1 =

       70711       -70711
      -70711        70711

K1=r1'*k1*r1


K1 =

       35355        35355       -35355       -35355
       35355        35355       -35355       -35355
      -35355       -35355        35355        35355
      -35355       -35355        35355        35355

K2=r2'*k2*r2; K3=r3'*k3*r3; K4=r4'*k4*r4; K5=r5'*k5*r5; K6=r6'*k6*r6; K7=r7'*k7*r7;

KGlobal=zeros(10)


KGlobal =

    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     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     0     0     0     0
    0     0     0     0     0     0     0     0     0     0
    0     0     0     0     0     0     0     0     0     0

KGlobal(1,1)=K1(1,1)+K3(1,1);

KGlobal


KGlobal =

  1.3536e+05            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            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            0            0            0
           0            0            0            0            0            0            0            0            0            0
           0            0            0            0            0            0            0            0            0            0

KGlobal(2,1)=K1(2,1)+K3(2,1);

KGlobal


KGlobal =

  1.3536e+05            0            0            0            0            0            0            0            0            0
       35355            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            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            0            0            0
           0            0            0            0            0            0            0            0            0            0

...

Descargar como (para miembros actualizados)  txt (11.4 Kb)   pdf (386.9 Kb)   docx (337.1 Kb)  
Leer 24 páginas más »
Disponible sólo en Clubensayos.com