Sei sulla pagina 1di 46

INGENIERIA ANTICISMICA (PRACTICA N°3)

ESCUELA ACADEMICA PROFESIONAL DE INGENIERIA CIVIL

CONCRETO ARMADO I
UNIVERSIDAD DE HUÀNUCO
FACULTAD DE INGENIERIA CIVIL

TERCERA TAREA ACADEMICA

• CURSO : INGENIERIA ANTISISMICA


• DOCENTE :MAG. ING. "ERIC REM LOVON DAVILA"
• TERCERA TAREA ACADEMICA
• ALUMNO :"EDUARDO ROBLES CUESTAS"
• TEMA :RUTINA EN MATLAB
• FECHA :7/03/2019

• CICLO:

✓ IX

• GRUPO:

✓ A

1
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO N°1

2
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO N1
Elabore una rutina en Matlab para calcular la respuesta de un sistema de un
grado de libertad utilizando el método de diferencia centrada. Escriba la función
utilizando los siguientes argumentos de input y output
[u,v]=IntDifcen(m,c,k,pt,dt,u0,v0)
m: Masa del sistema.
c: Amortiguamiento.
k: Rigidez.
pt: Vector con la fuerza excitadora en cada instante de tiempo.
dt: Intervalo de tiempo de la fuerza excitadora.
uo: Desplazamiento inicial.
vo: Velocidad inicial.
u: Vector con el desplazamiento versus tiempo.
v: Vector con la velocidad versus tiempo.
Utilizando esta función resuelva el ejercicio 1 y 2 de clases. Muestre en
una tabla los valores de desplazamiento y velocidad versus tiempo.
-----------------------------------------------------------------------------------------------------------------------------

SOLUCION
PARA LA PREGUNTA NUMERO UNO TENIA Q ALIZAR LAS FORMULAS Y DESGLOZARLAS DE
TAL MANERA QUE SEPA DE DONDE SALE CADA FORMULA Y ASI ODER SUBIR AL PROGRAMA
MATLAD 2016ª.( Todos los datos utilizados son empleados del libro Anibal Chopra)

ANTES DE REALIZAR CUALQUIER ECUACION TIENES QUE ANALIZAR LA INTERPOLACION:

(u – u0) ÷ (t – t0) = (u1 – u0) ÷ (t1 – t0)

3
INGENIERIA ANTICISMICA (PRACTICA N°3)

Cuando detallo cada ejercicio considerar este grafico como interpolación para calcular cada
formula como salió y se utilizó:

➢ PRIMERO SE ANALIZO DE DONDE SALE U i+1

➢ SECUNDO SE ANALIZA LA CONSTANTE LA DIFERENCIAL DE (ti)

PARA LOS SIGUIENETS CALCULOS REALICE LA INTERPOLACION EN MI PIZARRA:

➢ TERCERO SE CONSIDERA LOS DATOS DE LA INTERPOLACION DE LOS PRIMEROS


TEMAS

➢ CUARTO CONSIDERANDO UN SISTEMA LINEAL Y SUSTITUYENDO LAS EXPRESIONES I


Y II :

Se obtiene:

4
INGENIERIA ANTICISMICA (PRACTICA N°3)

➢ QUINTO DESPEJANDO (Ui+1) SUPONIENDO CONOCIDOS ( Ui )y (Ui-1)

➢ SEXTO SE UTILZA EL METODO EXPLIXITO Ui+1 = f(pasoi. Pasoi-1) , sin que se utilice la
ecuación del movimiento en (i+1)

➢ SEPTIMO SE CALCULA EL Ui , SE NECESITA Uo y U-1 CON EL CALCULO DE LA


INTERPOLACION SE TIENE :

➢ CONDICION PARA QUE LA ECUACION CUMPLA DE LA ESTABILIDAD:

UTILIZANDO EL PROGRAMA MATLAD 2016 A


----------------------------------------------------------------------------------------------------------------------------
%UNIVERSIDAD DE HUÀNUCO
%FACULTAD DE INGENIERIA CIVIL
%CURSO: ANTISISMICA
%DOCENTE:MAG. ING. "ERIC REM LOVON DAVILA"
%TERCERA TAREA ACADEMICA
%ALUMNO:"EDUARDO ROBLES CUESTAS"
%METODO DE LA DIFERENCIA CENTRADA
%RUTINA EN MATLAB
%FECHA:6/03/2019

function [u,v]=IntDifcen(m,c,k,pt,dt,u0,v0)

5
INGENIERIA ANTICISMICA (PRACTICA N°3)

%DEFINICION DE LOS PARAMETROS


%m: Masa
%c: Amortiguamiento
%k: Rigidez
%pt: Vector de fuerza excitadora en cada instante de tiempo
%dt: Intervalo de tiempo de la fuerza excitadora
%u0: Desplazamiento inicial t=0
%v0: Velocidad inicial t=0
%u : Vector con el desplazamiento versus tiempo
%v : Vector con la velocidad versus tiempo

m=1 %kg Masa


Tn=1 %seg Periodo no Amortiguado
wn=2*pi/Tn %rad/s Frecuencia Angular
k=(wn^2)*m % Rigidez del Sistema
p0=10 %N fuerza inicial
td=0.5 %seg Periodo Amortiguado
v0=0
u0=0

z=0; %factor de amortiguamiento critico


c=2*z*wn*m;

dt=0.1;
t=0:dt:1;

% Aceleracion para el instante t=0

a0=(p0-c*v0-k*u0)/m;

%Desplazamiento en t=-1

um1=u0-dt*v0+(dt^2)*a0/2;

%Definicion del largo de la excitacion

n=length(t);
pt=zeros(n,1);
pt(t<=td)=p0;

%Definicion de los parametros del sistema

kg=(m/dt^2+c/(2*dt))
b=((-2*m)/(dt^2))+k
a=(m/(dt^2))-(c/(2*dt))

%Inicializar la respuesta del sistema

u=zeros(n,1);
v=u;
u(1)=u0;
v(1)=v0;

%Calcular la respuesta en cada intervalo de tiempo

for i=1:n-1

pig=pt(i)-a*um1-b*u(i);

6
INGENIERIA ANTICISMICA (PRACTICA N°3)

u(i+1,1)=pig/kg;
um1=u(i);

end

% Definicion del Desplazamiento Estatico

ust=p0/k;

% Definicion del Vector Tiempo

t=0:0.1:1;

% Definicion del Desplazamiento

ut=ust*(1-cos(wn*t));

for i=1:length(t)
ti=t(i);
ut(i)=ust*(1-cos(wn*ti));
if ti>td;
ut(i)=ust*(cos(wn*(ti-td))-cos(wn*ti));
end
end

t2=0:0.001:1

for i=1:length(t2)
ti=t2(i);
ut2(i)=ust*(1-cos(wn*ti));
if ti>td;
ut2(i)=ust*(cos(wn*(ti-td))-cos(wn*ti));
end
end

%Graficando los resultados

figure
plot(t,ut,'-o');hold on
plot(t2,ut2,'r');hold on

xlabel('TIEMPO')
ylabel('DESPLAZAMIENTO')
title ('MÉTODO DIFERENCIA CENTRAL')

7
INGENIERIA ANTICISMICA (PRACTICA N°3)

8
INGENIERIA ANTICISMICA (PRACTICA N°3)

RESULTADO DEL COMANDO


WINDOWS

9
INGENIERIA ANTICISMICA (PRACTICA N°3)

m=

1 0.0120 0.0130 0.0140 0.0150

Tn = Columns 17 through 20

1 0.0160 0.0170 0.0180 0.0190

wn = Columns 21 through 24

6.2832 0.0200 0.0210 0.0220 0.0230

k= Columns 25 through 28

39.4784 0.0240 0.0250 0.0260 0.0270

p0 = Colmns 29 through 32

10 0.0280 0.0290 0.0300 0.0310

td = Columns 33 through 36

0.5000 0.0320 0.0330 0.0340 0.0350

v0 = Columns 37 through 40

0 0.0360 0.0370 0.0380 0.0390

u0 = Columns 41 through 44

0 0.0400 0.0410 0.0420 0.0430

kg = Columns 45 through 48

100.0000 0.0440 0.0450 0.0460 0.0470

b= Columns 49 through 52

-160.5216 0.0480 0.0490 0.0500 0.0510

a= Columns 53 through 56

100.0000 0.0520 0.0530 0.0540 0.0550

t2 = Columns 57 through 60

Columns 1 through 4 0.0560 0.0570 0.0580 0.0590

0 0.0010 0.0020 0.0030 Columns 61 through 64

Columns 5 through 8 0.0600 0.0610 0.0620 0.0630

0.0040 0.0050 0.0060 0.0070 Columns 65 through 68

Columns 9 through 12 0.0640 0.0650 0.0660 0.0670

0.0080 0.0090 0.0100 0.0110 Columns 69 through 72

Columns 13 through 16

10
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.0680 0.0690 0.0700 0.0710 0.1280 0.1290 0.1300 0.1310

Columns 133 through 136

Columns 73 through 76 0.1320 0.1330 0.1340 0.1350

0.0720 0.0730 0.0740 0.0750 Columns 137 through 140

Columns 77 through 80 0.1360 0.1370 0.1380 0.1390

0.0760 0.0770 0.0780 0.0790 Columns 141 through 144

Columns 81 through 84 0.1400 0.1410 0.1420 0.1430

0.0800 0.0810 0.0820 0.0830 Columns 145 through 148

Columns 85 through 88 0.1440 0.1450 0.1460 0.1470

0.0840 0.0850 0.0860 0.0870 Columns 149 through 152

Columns 89 through 92 0.1480 0.1490 0.1500 0.1510

0.0880 0.0890 0.0900 0.0910 Columns 153 through 156

Columns 93 through 96 0.1520 0.1530 0.1540 0.1550

0.0920 0.0930 0.0940 0.0950 Columns 157 through 160

Columns 97 through 100 0.1560 0.1570 0.1580 0.1590

0.0960 0.0970 0.0980 0.0990 Columns 161 through 164

Columns 101 through 104 0.1600 0.1610 0.1620 0.1630

0.1000 0.1010 0.1020 0.1030 Columns 165 through 168

Columns 105 through 108 0.1640 0.1650 0.1660 0.1670

0.1040 0.1050 0.1060 0.1070 Columns 169 through 172

Columns 109 through 112 0.1680 0.1690 0.1700 0.1710

0.1080 0.1090 0.1100 0.1110 Columns 173 through 176

Columns 113 through 116 0.1720 0.1730 0.1740 0.1750

0.1120 0.1130 0.1140 0.1150 Columns 177 through 180

Columns 117 through 120 0.1760 0.1770 0.1780 0.1790

0.1160 0.1170 0.1180 0.1190 Columns 181 through 184

Columns 121 through 124 0.1800 0.1810 0.1820 0.1830

0.1200 0.1210 0.1220 0.1230 Columns 185 through 188

Columns 125 through 128 0.1840 0.1850 0.1860 0.1870

0.1240 0.1250 0.1260 0.1270 Columns 189 through 192

Columns 129 through 132 0.1880 0.1890 0.1900 0.1910

11
INGENIERIA ANTICISMICA (PRACTICA N°3)

Columns 193 through 196 0.2520 0.2530 0.2540 0.2550

0.1920 0.1930 0.1940 0.1950 Columns 257 through 260

Columns 197 through 200 0.2560 0.2570 0.2580 0.2590

0.1960 0.1970 0.1980 0.1990 Columns 261 through 264

Columns 201 through 204 0.2600 0.2610 0.2620 0.2630

0.2000 0.2010 0.2020 0.2030 Columns 265 through 268

Columns 205 through 208 0.2640 0.2650 0.2660 0.2670

0.2040 0.2050 0.2060 0.2070 Columns 269 through 272

Columns 209 through 212 0.2680 0.2690 0.2700 0.2710

0.2080 0.2090 0.2100 0.2110 Columns 273 through 276

Columns 213 through 216 0.2720 0.2730 0.2740 0.2750

0.2130 0.2130 0.2140 0.2150 Columns 277 through 280

Columns 217 through 220 0.2760 0.2770 0.2780 0.2790

0.2160 0.2170 0.2180 0.2190 Columns 281 through 284

Columns 221 through 224 0.2800 0.2810 0.2820 0.2830

0.2200 0.2210 0.2220 0.2230 Coluns 285 through 288

Columns 225 through 228 0.2840 0.2850 0.2860 0.2870

0.2240 0.2250 0.2260 0.2270 Columns 289 through 292

Columns 229 through 232 0.2880 0.2890 0.2900 0.2910

0.2280 0.2290 0.2300 0.2310 Columns 293 through 296

Columns 233 through 236 0.2920 0.2930 0.2940 0.2950

0.2320 0.2330 0.2340 0.2350 Columns 297 through 300

Columns 237 through 240 0.2960 0.2970 0.2980 0.2990

0.2360 0.2370 0.2380 0.2390 Clumns 301 through 304

Columns 241 through 244 0.3000 0.3010 0.3020 0.3030

0.2400 0.2410 0.2420 0.2430 Columns 305 through 308

Columns 245 through 248 0.3040 0.3050 0.3060 0.3070

0.2440 0.2450 0.2460 0.2470

Columns 249 through 252 Columns 309 through 312

0.2480 0.2490 0.2500 0.2510 0.3080 0.3090 0.3100 0.3110

Columns 253 through 256 Columns 313 through 316

12
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.3120 0.3130 0.3140 0.3150 Columns 377 through 380

Columns 317 through 320 0.3760 0.3770 0.3780 0.3790

0.3160 0.3170 0.3180 0.3190 Columns 381 through 384

Columns 321 through 324 0.3800 0.3810 0.3820 0.3830

0.3200 0.3210 0.3220 0.3230 Columns 385 through 388

Columns 325 through 328 0.3840 0.3850 0.3860 0.3870

0.3240 0.3250 0.3260 0.3270 Columns 389 through 392

Columns 329 through 332 0.3880 0.3890 0.3900 0.3910

0.3280 0.3290 0.3300 0.3310 Columns 393 through 396

Columns 333 through 336 0.3920 0.3930 0.3940 0.3950

0.3320 0.3330 0.3340 0.3350 Columns 397 through 400

Columns 337 through 340 0.3960 0.3970 0.3980 0.3990

0.3360 0.3370 0.3380 0.3390 Columns 401 through 404

Columns 341 through 344 0.4000 0.4010 0.4020 0.4030

0.3400 0.3410 0.3420 0.3430 Columns 405 through 408

Columns 345 through 348 0.4040 0.4050 0.4060 0.4070

0.3440 0.3450 0.3460 0.3470 Columns 409 through 412

Columns 349 through 352 0.4080 0.4090 0.4100 0.4110

0.3480 0.3490 0.3500 0.3510 Columns 413 through 416

Columns 353 through 356 0.4120 0.4130 0.4140 0.4150

0.3520 0.3530 0.3540 0.3550 Columns 417 through 420

Columns 357 through 360 0.4160 0.4170 0.4180 0.4190

0.3560 0.3570 0.3580 0.3590

Columns 361 through 364 Columns 421 through 424

0.3600 0.3610 0.3620 0.3630

Columns 365 through 368 0.4200 0.4210 0.4220 0.4230

0.3640 0.3650 0.3660 0.3670

Columns 369 through 372 Columns 425 through 428

0.3680 0.3690 0.3700 0.3710

Columns 373 through 376 0.4240 0.4250 0.4260 0.4270

0.3720 0.3730 0.3740 0.3750 Columns 429 through 432

13
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.4280 0.4290 0.4300 0.4310 Columns 493 through 496

Columns 433 through 436 0.4920 0.4930 0.4940 0.4950

0.4320 0.4330 0.4340 0.4350 Columns 497 through 500

Columns 437 through 440 0.4960 0.4970 0.4980 0.4990

0.4360 0.4370 0.4380 0.4390 Columns 501 through 504

Columns 441 through 444 0.5000 0.5010 0.5020 0.5030

0.4400 0.4410 0.4420 0.4430 Columns 505 through 508

Columns 445 through 448 0.5040 0.5050 0.5060 0.5070

0.4440 0.4450 0.4460 0.4470 Columns 509 through 512

Columns 449 through 452 0.5080 0.5090 0.5100 0.5110

0.4480 0.4490 0.4500 0.4510 Columns 513 through 516

Columns 453 through 456 0.5120 0.5130 0.5140 0.5150

0.4520 0.4530 0.4540 0.4550 Columns 517 through 520

Columns 457 through 460 0.5160 0.5170 0.5180 0.5190

0.4560 0.4570 0.4580 0.4590 Columns 521 through 524

Columns 461 through 464 0.5200 0.5210 0.5220 0.5230

0.4600 0.4610 0.4620 0.4630 Columns 525 through 528

Columns 465 through 468 0.5240 0.5250 0.5260 0.5270

0.4640 0.4650 0.4660 0.4670 Columns 529 through 532

Columns 469 through 472 0.5280 0.5290 0.5300 0.5310

0.4680 0.4690 0.4700 0.4710 Columns 533 through 536

Columns 473 through 476 0.5320 0.5330 0.5340 0.5350

0.4720 0.4730 0.4740 0.4750 Columns 537 through 540

Columns 477 through 480 0.5360 0.5370 0.5380 0.5390

0.4760 0.4770 0.4780 0.4790 Columns 541 through 544

Columns 481 through 484 0.5400 0.5410 0.5420 0.5430

0.4800 0.4810 0.4820 0.4830 Columns 545 through 548

Columns 485 through 488 0.5440 0.5450 0.5460 0.5470

0.4840 0.4850 0.4860 0.4870 Columns 549 through 552

Columns 489 through 492 0.5480 0.5490 0.5500 0.5510

0.4880 0.4890 0.4900 0.4910 Columns 553 through 556

14
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.5520 0.5530 0.5540 0.5550 0.6160 0.6170 0.6180 0.6190

Columns 557 through 560 Columns 621 through 624

0.5560 0.5570 0.5580 0.5590 0.6200 0.6210 0.6220 0.6230

Columns 561 through 564 Columns 625 through 628

0.5600 0.5610 0.5620 0.5630 0.6240 0.6250 0.6260 0.6270

Columns 565 through 568 Columns 629 through 632

0.5640 0.5650 0.5660 0.5670 0.6280 0.6290 0.6300 0.6310

Columns 569 through 572 Columns 633 through 636

0.5680 0.5690 0.5700 0.5710 0.6320 0.6330 0.6340 0.6350

Columns 573 through 576 Columns 637 through 640

0.5720 0.5730 0.5740 0.5750 .6360 0.6370 0.6380 0.6390

Columns 577 through 580 Columns 641 through 644

0.5760 0.5770 0.5780 0.5790 0.6400 0.6410 0.6420 0.6430

Columns 581 through 584 Columns 645 through 648

0.5800 0.5810 0.5820 0.5830 0.6440 0.6450 0.6460 0.6470

Columns 585 through 588 Columns 649 through 652

0.5840 0.5850 0.5860 0.5870 0.6480 0.6490 0.6500 0.6510

Columns 589 through 592 Columns 653 through 656

0.5880 0.5890 0.5900 0.5910 0.6520 0.6530 0.6540 0.6550

Columns 593 through 596 Columns 657 through 660

0.5920 0.5930 0.5940 0.5950 0.6560 0.6570 0.6580 0.6590

Columns 597 through 600 Columns 661 through 664

0.5960 0.5970 0.5980 0.5990 0.6600 0.6610 0.6620 0.6630

Columns 601 through 604 Columns 665 through 668

0.6000 0.6010 0.6020 0.6030 0.6640 0.6650 0.6660 0.6670


Columns 605 through 608
Columns 669 through 672
0.6040 0.6050 0.6060 0.6070
Columns 609 through 612 0.6680 0.6690 0.6700 0.6710
0.6080 0.6090 0.6100 0.6110 Columns 673 through 676
Columns 613 through 616 0.6720 0.6730 0.6740 0.6750
0.6120 0.6130 0.6140 0.6150 Columns 677 through 680
Columns 617 through 620

15
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.6760 0.6770 0.6780 0.6790 Columns 741 through 744

Columns 681 through 684 0.7400 0.7410 0.7420 0.7430

0.6800 0.6810 0.6820 0.6830 Columns 745 through 748

Columns 685 through 688 0.7440 0.7450 0.7460 0.7470

0.6840 0.6850 0.6860 0.6870 Columns 749 through 752

Columns 689 through 692 0.7480 0.7490 0.7500 0.7510

0.6880 0.6890 0.6900 0.6910 Columns 753 through 756

Columns 693 through 696 0.7520 0.7530 0.7540 0.7550

0.6920 0.6930 0.6940 0.6950 Columns 757 through 760

Columns 697 through 700 0.7560 0.7570 0.7580 0.7590

0.6960 0.6970 0.6980 0.6990 Columns 761 through 764

Columns 701 through 704 0.7600 0.7610 0.7620 0.7630

0.7000 0.7010 0.7020 0.7030 Columns 765 through 768

Columns 705 through 708 0.7640 0.7650 0.7660 0.7670

0.7040 0.7050 0.7060 0.7070 Columns 769 through 772

Columns 709 through 712 0.7680 0.7690 0.7700 0.7710

0.7080 0.7090 0.7100 0.7110 Columns 773 through 776

Columns 713 through 716 0.7720 0.7730 0.7740 0.7750

0.7120 0.7130 0.7140 0.7150 Columns 777 through 780

Columns 717 through 720 0.7760 0.7770 0.7780 0.7790

0.7160 0.7170 0.7180 0.7190 Columns 781 through 784

Columns 721 through 724 0.7800 0.7810 0.7820 0.7830

0.7200 0.7210 0.7220 0.7230 Columns 785 through 788

Columns 725 through 728 0.7840 0.7850 0.7860 0.7870

0.7240 0.7250 0.7260 0.7270 Columns 789 through 792

Columns 729 through 732 0.7880 0.7890 0.7900 0.7910

0.7280 0.7290 0.7300 0.7310 Columns 793 through 796

Columns 733 through 736 0.7920 0.7930 0.7940 0.7950

0.7320 0.7330 0.7340 0.7350 Columns 797 through 800

Columns 737 through 740 0.7960 0.7970 0.7980 0.7990

0.7360 0.7370 0.7380 0.7390 Columns 801 through 804

16
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.8000 0.8010 0.8020 0.8030 Columns 865 through 868

Columns 805 through 808 0.8640 0.8650 0.8660 0.8670

0.8040 0.8050 0.8060 0.8070 Columns 869 through 872

Columns 809 through 812 0.8680 0.8690 0.8700 0.8710

0.8080 0.8090 0.8100 0.8110 Columns 873 through 876

Columns 813 through 816 0.8720 0.8730 0.8740 0.8750

0.8120 0.8130 0.8140 0.8150 Columns 877 through 880

Columns 817 through 820 0.8760 0.8770 0.8780 0.8790

0.8160 0.8170 0.8180 0.8190 Columns 881 through 884

Columns 821 through 824 0.8800 0.8810 0.8820 0.8830

0.8200 0.8210 0.8220 0.8230 Columns 885 through 888

Columns 825 through 828 0.8840 0.8850 0.8860 0.8870

0.8240 0.8250 0.8260 0.8270 Columns 889 through 892

Columns 829 through 832 0.8880 0.8890 0.8900 0.8910

0.8280 0.8290 0.8300 0.8310 Columns 893 through 896

Columns 833 through 836 0.8920 0.8930 0.8940 0.8950

0.8320 0.8330 0.8340 0.8350 Columns 897 through 900

Columns 837 through 840 0.8960 0.8970 0.8980 0.8990

0.8360 0.8370 0.8380 0.8390 Columns 901 through 904

Columns 841 through 844 0.9000 0.9010 0.9020 0.9030

0.8400 0.8410 0.8420 0.8430 Columns 905 through 908

Colums 845 through 848 0.9040 0.9050 0.9060 0.9070

0.8440 0.8450 0.8460 0.8470 Columas 909 through 912

Columns 849 through 852 0.9080 0.9090 0.9100 0.9110

0.8480 0.8490 0.8500 0.8510 Columns 913 through 916

Columns 853 through 856 0.9120 0.9130 0.9140 0.9150

0.8520 0.8530 0.8540 0.8550 Columns 917 through 920

Columns 857 through 860 0.9160 0.9170 0.9180 0.9190

0.8560 0.8570 0.8580 0.8590 Columns 921 through 924

Columns 861 through 864 0.9200 0.9210 0.9220 0.9230

0.8600 0.8610 0.8620 0.8630 Columns 925 through 928

17
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.9240 0.9250 0.9260 0.9270 Columns 989 through 992

Columns 929 through 932 0.9880 0.9890 0.9900 0.9910

0.9280 0.9290 0.9300 0.9310 Columns 993 through 996

Columns 933 through 936 0.9920 0.9930 0.9940 0.9950

0.9320 0.9330 0.9340 0.9350 Columns 997 through 1000

Columns 937 through 940 0.9960 0.9970 0.9980 0.9990

0.9360 0.9370 0.9380 0.9390 Column 1001

Columns 941 through 944 1.0000

0.9400 0.9410 0.9420 0.9430

Columns 945 through 948

0.9440 0.9450 0.9460 0.9470 ans =

Columns 949 through 952

0.9480 0.9490 0.9500 0.9510 0

Columns 953 through 956 0.0500

0.9520 0.9530 0.9540 0.9550 0.1803

Columns 957 through 960 0.3394

0.9560 0.9570 0.9580 0.9590 0.4645

Columns 961 through 964 0.5062

0.9600 0.9610 0.9620 0.9630 0.4481

Columns 965 through 968 0.2131

0.9640 0.9650 0.9660 0.9670 -0.1060

Columns 969 through 972 -0.3833

0.9680 0.9690 0.9700 0.9710 -0.5093

Columns 973 through 976

0.9720 0.9730 0.9740 0.9750

Columns 977 through 980

0.9760 0.9770 0.9780 0.9790

Columns 981 through 984

0.9800 0.9810 0.9820 0.9830

Columns 985 through 988

0.9840 0.9850 0.9860 0.9870

18
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO 2

19
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO 2

Elabore una rutina en Matlab para calcular la respuesta de un sistema de un


grado de libertad utilizando el método exacto basado en la interpolación de la
excitación. Escriba la función utilizando los siguientes argumentos de input y
output, donde la definición de las variables es análoga a la anterior.

[u,v]=IntExacto(m,c,k,pt,dt,u0,v0)

Utilizando esta función resuelva el ejercicio 1 y 2 de clases. Muestre en una tabla


los valores de desplazamiento y velocidad versus tiempo.

SOLUCION

PARA RESOLVER CADA EJERCICIO TENEMOS QUE CONSIDERAR LA INTERPOLACION:

𝑝 𝜏 = 𝑝𝑖 + ∆𝑝𝑖 /Δ𝑡𝑖

Si no hay amortiguamiento, la ecuación de movimiento en el tiempo “τ” es:

𝑚𝑢 𝜏 + 𝑘𝑢 𝜏 = 𝑝𝑖 + ∆𝑝𝑖 ∆T

𝑢 𝜏 = 𝐸𝑐𝑜𝑠𝑤𝑛𝜏 + 𝐹𝑠𝑖𝑛𝑤𝑛𝜏 + 𝑝𝑖 𝑘 1 − 𝑐𝑜𝑠𝑤𝑛𝜏 + ∆𝑝𝑖 𝑘 ( 𝜏 ∆𝜏𝑖 − 𝑠𝑖𝑛𝑤𝑛𝜏 𝑤𝑛∆𝑡𝑖 )

DATOS OBTENIDOS DE LA DIAPOSITIVA DEL INGENIERO:

CADA CALCULO OBTENIDO SE ENCUENTRA EXPLICADO EN CADA EJERCICIO PLANTEADO PARA


LOS CALCULOS EN MATLAD .

20
INGENIERIA ANTICISMICA (PRACTICA N°3)

Subiendo loas formulas al matlad 2016 a

%DOCENTE:MAG. ING. "ERIC REM LOVON DAVILA"


%TERCERA TAREA ACADEMICA
%ALUMNO:"EDUARDO ROBLES CUESTAS"
%METODO EXACTO BASADO EN LA INTERPOLACION DE LA EXCITACIÒN
%RUTINA DE MATLAB
%FECHA: 06/03/2019

function [u,v]=IntExacto(m,c,k,pt,dt,u0,v0)
%DEFINICION DE LOS PARAMETROS
%m: Masa
%c: Amortiguamiento
%k: Rigidez
%pt: Vector de fuerza excitadora en cada instante de tiempo
%dt: Intervalo de tiempo de la fuerza excitadora
%u0: Desplazamiento inicial t=0
%v0: Velocidad inicial t=0
%u : Vector con el desplazamiento versus tiempo
%v : Vector con la velocidad versus tiempo
m=1; %kg Masa
Tn=1; %seg Periodo no Amortiguado
td=0.5; %seg Periodo Amortiguado
vo=0;
uo=0;
wn=2*pi/Tn; %rad/s Frecuencia Angular
k=(wn^2)*m; % Rigidez del Sistema
po=10; %N
z=0; %Factor de amortiguamiento critico
c=2*z*wn*m;
wd=wn*sqrt(1-z^2);
dt=0.1;
t=0:dt:1;
%Definicion del largo de la excitacion
n=length(t);
pt=zeros(n,1);

21
INGENIERIA ANTICISMICA (PRACTICA N°3)

pt(t<=td)=po;
%Constante Metodo Exacto Basado en la Interpolacion de la excitacion
A=exp(-z*wn*dt)*(z/sqrt(1-z^2)*sin(wd*dt)+cos(wd*dt))
B=exp(-z*wn*dt)*(sin(wd*dt)/wd)
C=(1/k)*(2*z/(wn*dt)+exp(-z*wn*dt)*(((1-2*z^2)/(wd*dt)-z/sqrt(1-
z^2))*sin(wd*dt)-(1+2*z/(wn*dt))*cos(wd*dt)))
D=(1/k)*(1-2*z/(wn*dt)+exp(-z*wn*dt)*((2*z^2-
1)/(wd*dt)*sin(wd*dt)+2*z/(wn*dt)*cos(wd*dt)))
Apri=-exp(-z*wn*dt)*(wn/sqrt(1-z^2)*sin(wd*dt))
Bpri=exp(-z*wn*dt)*(cos(wd*dt)-z/sqrt(1-z^2)*sin(wd*dt))
Cpri=(1/k)*((-1/dt)+(exp(-z*wn*dt))*(((wn/sqrt(1-z^2))+(z/dt*sqrt(1-
z^2)))*sin(wd*dt)+(1/dt)*cos(wd*dt)))
Dpri=1/(k*dt)*(1-exp(-z*wn*dt)*(z/sqrt(1-z^2)*sin(wd*dt)+cos(wd*dt)))
%Inicializar la respuesta del sistema
u=zeros(n,1);
v=u;
u(1)=uo;
v(1)=vo;
%Calcular la respuesta en cada intervalo de tiempo
for i=1:n-1
dp=pt(i+1)-pt(i);
e=u(i);
f=v(i)/wn;
u(i+1,1)=A*u(i)+B*v(i)+C*pt(i)+D*pt(i+1);
v(i+1,1)=Apri*u(i)+Bpri*v(i)+Cpri*pt(i)+Dpri*pt(i+1);
end
plot(t,u, 'm')
hold on

22
INGENIERIA ANTICISMICA (PRACTICA N°3)

RESULTADO DEL COMANDO


WINDOWS

23
INGENIERIA ANTICISMICA (PRACTICA N°3)

A=

0.8090

B=

0.0935

C=

0.0032

D=

0.0016

Apri =

-3.6932

24
INGENIERIA ANTICISMICA (PRACTICA N°3)

Bpri =

0.8090

Cpri =

0.0452

Dpri =

0.0484

ans =

0.0484

0.1750

0.3316

0.4582

0.5066

0.4419

0.2247

-0.0783

-0.3514

-0.4903

25
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO 3 A

26
INGENIERIA ANTICISMICA (PRACTICA N°3)

PULSO RECTANGULAR

Para poder resolver este tipo de ejercicio tenemos que analizar:

FASE DE VIBRACIÓN FORZADA que consiste. Durante esta fase, el sistema


está sometido a una fuerza escalonada. La respuesta del sistema esta dada por
la ecuación, que se repite aquí por convivencia:

𝒖(𝒕) 𝟐(𝒑𝒊)
= 𝟏 − 𝐜𝐨𝐬(𝑾𝒏𝒕) = 𝟏 − 𝐜𝐨𝐬
𝒖(𝒔𝒕)𝟎 𝑻𝒏

FASE DE VIBRACION LIBRE Después de que la fuerza termina en td , el


sistema sistema experimenta una vibración libre , que se define al modificar en
forma adecuada la ecuación:

Para los siguientes cálculos tenemos que saber de dónde salen las
ecuaciones para eso logre simplificar las ecuaciones de esta manera:

U(td)=(Ust)o(1-cos(Wn)( td) )-------(1)

Para el calculo del desplazamiento se obtiene:

𝐕(𝐭𝐝) = 𝐖𝐧 ∗ 𝐬𝐞𝐧(𝐖𝐧)(𝐭𝐝)-----------(2)

Ahora sustituyendo las ecuaciones 1 y 2 se tiene

27
INGENIERIA ANTICISMICA (PRACTICA N°3)

𝒖(𝒕) = 𝑼𝒔𝒕(𝟏 − 𝒄𝒐𝒔𝑾𝒏𝒕𝒅)𝒄𝒐𝒔𝑾𝒏(𝒕 − 𝒕𝒅) + 𝑺𝒆𝒏(𝑾𝒏)𝒕𝒅 𝒔𝒆𝒏(𝑾𝒏)𝒕𝒅

Sustituyendo se obtiene la siguiente ecuación:

UTILIZANDO EL PROGRAMA MATLAD 2016 A


%UNIVERSIDAD DE HUÀNUCO
%FACULTAD DE INGENIERIA CIVIL
%CURSO: ANTISISMICA
%DOCENTE:MAG. ING. "ERIC REM LOVON DAVILA"
%TERCERA TAREA ACADEMICA
%ALUMNO:"EDUARDO ROBLES CUESTAS"
%FUERZA DE PULSO RECTANGULAR
%EJERCICIO N° 03-01 FUERZA DE PULSO RECTANGULAR
%FECHA:06/03/2019
%N°DE LISTA 35

%DATOS
td1=0.125; % CASO 1
td2=0.25; % CASO 2
td3=1; % CASO 3
td4=0.5; % CASO 4
td5=2; % CASO 5
td6=2.5; % CASO 6
td7=3; % CASO 7

m=1 % MASA
ti=('0:1:2:3:4:5'); % INTERCALO DE TIEMPO
tn=1 % PERIODO NATURAL
wn=2*pi/tn % PRECUENCIA NATURAL
po=10 % VECTOR FUERZA
k=wn^2*m % RIGIDEZ

ust=po/k;

% ---------------------FASE DE VIBRACION FORZADA ---------------------


-
%Durante esta fase , el sistema essta sometido a una fuerza escalonada
.
%u(t)=ust *(1-cos(wmt)-1-cos(2*pi*t/tn)
%----------------------FASE DE VIBRACION LIBRE------------------------
-
%(ut)=u(td)coswn(t-td)+(v(td)/wn)*sen(wn)(t-td)
%----------------------CONSIDERACIONES PARA UTILIZAR------------------
-

28
INGENIERIA ANTICISMICA (PRACTICA N°3)

%u(i)=ust*(2*sin(3.1416*td/tn)*sin(2*3.1416*(ti/tn-td/(2*tn))))---
t=>td

for i = 1:length(ti)1;

%{
u1=ust*(cos(wn*(ti-td1))-cos(wn*(ti))) % CASO 1 EN f(wn)
u2=ust*(cos(wn*(ti-td2))-cos(wn*(ti))) % CASO 2 EN f(wn)
u3=ust*(cos(wn*(ti-td3))-cos(wn*(ti))) % CASO 3 EN f(wn)
u4=ust*(cos(wn*(ti-td4))-cos(wn*(ti))) % CASO 4 EN f(wn)
u5=ust*(cos(wn*(ti-td5))-cos(wn*(ti))) % CASO 5 EN f(wn)
u6=ust*(cos(wn*(ti-td6))-cos(wn*(ti))) % CASO 6 EN f(wn)
u7=ust*(cos(wn*(ti-td7))-cos(wn*(ti))) % CASO 7 EN f(wn)
%}

u1=ust*(2*sin(3.1416*td1/tn)*sin(2*3.1416*(ti/tn-td1/(2*tn))));% CASO
1
u2=ust*(2*sin(3.1416*td2/tn)*sin(2*3.1416*(ti/tn-td2/(2*tn))));% CASO
2
u3=ust*(2*sin(3.1416*td3/tn)*sin(2*3.1416*(ti/tn-td3/(2*tn))));% CASO
3
u4=ust*(2*sin(3.1416*td4/tn)*sin(2*3.1416*(ti/tn-td4/(2*tn))));% CASO
4
u5=ust*(2*sin(3.1416*td5/tn)*sin(2*3.1416*(ti/tn-td5/(2*tn))));% CASO
5
u6=ust*(2*sin(3.1416*td6/tn)*sin(2*3.1416*(ti/tn-td6/(2*tn))));% CASO
6
u7=ust*(2*sin(3.1416*td7/tn)*sin(2*3.1416*(ti/tn-td7/(2*tn))));% CASO
7

end

disp ( 'FUERZA DE PULSO RECTANGULAR: ust=(po/k)')

disp(' td1=0.125 td2=0.25 td3=1 td4=0.5 td5=2 td6=2.5


td7=3' )

disp(' u1 u2 u3 u4 u5 u6 u7
' ) %ordena valores calculados de constantes

disp( [ u1' u2' u3' u4' u5' u6' u7' ]) %ordena


resultados

disp(' ---- EJE X (ti/tn) VS EJEY(u1(t)/ust)----' )

disp(' ti/tn u1(t)/ust u2(t)/ust u3(t)/ust u4(t)/ust u5(t)/ust


u6(t)/ust u7(t)/ust ')
disp ([(ti/tn)' (u1/ust)' (u2/ust)' (u3/ust)' (u4/ust)' (u5/ust)'
(u6/ust)' (u7/ust)'])

plot ( ti/tn,u1/ust)
hold on;
plot ( ti/tn,u2/ust)
hold on;
plot ( ti/tn,u3/ust)
hold on;
plot ( ti/tn,u4/ust)
hold on;

29
INGENIERIA ANTICISMICA (PRACTICA N°3)

plot ( ti/tn,u5/ust)
hold on;
plot ( ti/tn,u6/ust)
hold on;
plot ( ti/tn,u7/ust)
hold on;

xlabel('t/tn') % etiqueta de tiempo en el grafico en el eje x


ylabel('u(t)/ust') % titulo del grafico en el eje y
title ('FUERZA DE PULSO RECTANGULAR')

30
INGENIERIA ANTICISMICA (PRACTICA N°3)

RESULTADO DEL COMANDO


WINDOWS

31
INGENIERIA ANTICISMICA (PRACTICA N°3)

m= 0.0000
1 0.0000
tn = 0.0000
1 0.0000
wn = 0.0000
6.2832
po = ---- EJE X (ti/tn) VS EJEY(u1(t)/ust)----
10 ti/tn u1(t)/ust u2(t)/ust u3(t)/ust u4(t)/ust
k= u5(t)/ust u6(t)/ust u7(t)/ust
39.4784 Columns 1 through 3

FUERZA DE PULSO RECTANGULAR: ust=(po/k) 48.0000 -0.2924 -0.9993


td1=0.125 td2=0.25 td3=1 td4=0.5 td5=2 58.0000 -0.2923 -0.9992
td6=2.5 td7=3 49.0000 -0.2924 -0.9993
u1 u2 u3 u4 u5 u6 u7 58.0000 -0.2923 -0.9992
Columns 1 through 3 50.0000 -0.2924 -0.9993
58.0000 -0.2923 -0.9992
-0.0741 -0.2531 0.0000 51.0000 -0.2924 -0.9993
-0.0740 -0.2531 0.0000 58.0000 -0.2923 -0.9992
-0.0741 -0.2531 0.0000 52.0000 -0.2924 -0.9992
-0.0740 -0.2531 0.0000 58.0000 -0.2923 -0.9992
-0.0741 -0.2531 0.0000 53.0000 -0.2923 -0.9992
-0.0740 -0.2531 0.0000
-0.0741 -0.2531 0.0000 Columns 4 through 6
-0.0740 -0.2531 0.0000
-0.0741 -0.2531 0.0000 0.0000 -2.0000 0.0000
-0.0740 -0.2531 0.0000 0.0000 -2.0000 0.0000
-0.0741 -0.2531 0.0000 0.0000 -2.0000 0.0000
0.0000 -2.0000 0.0000
Columns 4 through 6 0.0000 -2.0000 0.0000
0.0000 -2.0000 0.0000
-0.5066 0.0000 -0.5066 0.0000 -2.0000 0.0000
-0.5066 0.0000 -0.5066 0.0000 -2.0000 0.0000
-0.5066 0.0000 -0.5066 0.0000 -2.0000 0.0000
-0.5066 0.0000 -0.5066 0.0000 -2.0000 0.0000
-0.5066 0.0000 -0.5066 0.0000 -2.0000 0.0000
-0.5066 0.0000 -0.5066
-0.5066 0.0000 -0.5066 Columns 7 through 8
-0.5066 0.0000 -0.5066
-0.5066 0.0000 -0.5066 -2.0000 0.0000
-0.5066 0.0000 -0.5066 -2.0000 0.0000
-0.5066 0.0000 -0.5066 -2.0000 0.0000
-2.0000 0.0000
Column 7 -2.0000 0.0000
-2.0000 0.0000
0.0000 -2.0000 0.0000
0.0000 -2.0000 0.0000
0.0000 -2.0000 0.0000
0.0000 -2.0000 0.0000
0.0000 -2.0000 0.0000
0.0000

32
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO 3B

33
INGENIERIA ANTICISMICA (PRACTICA N°3)

PULSO TRIANGULAR SIMETRICA

DE LAS FORMULAS DETALLADAS DE LOS EJERCICIOS


ANTERIORES SE CONSIDERA ESTOS DATOS PARA LA
SOLUCIÓN DEL PUSO TRIANGULAR.

APLICANDO EL EJERCICIO EN EL PROGRAMA MATLAD 2016 A SE


TIENE

%UNIVERSIDAD DE HUÀNUCO
%FACULTAD DE INGENIERIA CIVIL
%CURSO: ANTISISMICA
%DOCENTE:MAG. ING. "ERIC REM LOVON DAVILA"
%TERCERA TAREA ACADEMICA
%ALUMNO:"EDUARDO ROBLES CUESTAS"
%FUERZA DE PULSO RECTANGULAR
%EJERCICIO N° 03-01 FUERZA DE PULSO RECTANGULAR
%FECHA:06/03/2019
%N°DE LISTA 35

%DATOS
td1=0.125; % CASO 1
td2=0.25; % CASO 2
td3=1; % CASO 3
td4=0.5; % CASO 4
td5=2; % CASO 5
td6=2.5; % CASO 6
td7=3; % CASO 7

m=1 % MASA
ti=('0:1:2:3:4:5'); % INTERCALO DE TIEMPO
tn=1 % PERIODO NATURAL
wn=2*pi/tn % PRECUENCIA NATURAL
po=10 % VECTOR FUERZA
k=wn^2*m % RIGIDEZ

34
INGENIERIA ANTICISMICA (PRACTICA N°3)

ust=po/k;

%%----------------------FUERZA DE PULSO TRIANGULAR-------------------


%----------------------CONSIDERACIONES A APLICAR--------------------
% si 2(t/td-tn/(2*pi*td)*sen(2*pi*t/tn)) ------- 0<=t<=td/2
% si 2(1-t/td+tn/(2*pi*td)*[2*Sen(2*(pi/tn))*(t-1/2*td)-
sen(2*pi*(t/tn))------td/2<=t<=td
% si 2(tn/(2*pi*td)*(2*Sen(2*pi/tn)(t-1/2td)-sen(2*pi/tn)(t-td)-
sen(2*pi)(t/tn))-----t=>td

for i = 1:length(ti)1;

%{
u1=ust*(cos(wn*(ti-td1))-cos(wn*(ti))) % CASO 1 EN f(wn)
u2=ust*(cos(wn*(ti-td2))-cos(wn*(ti))) % CASO 2 EN f(wn)
u3=ust*(cos(wn*(ti-td3))-cos(wn*(ti))) % CASO 3 EN f(wn)
u4=ust*(cos(wn*(ti-td4))-cos(wn*(ti))) % CASO 4 EN f(wn)
u5=ust*(cos(wn*(ti-td5))-cos(wn*(ti))) % CASO 5 EN f(wn)
u6=ust*(cos(wn*(ti-td6))-cos(wn*(ti))) % CASO 6 EN f(wn)
u7=ust*(cos(wn*(ti-td7))-cos(wn*(ti))) % CASO 7 EN f(wn)
%}

u1=ust*(2*sin(3.1416*td1/tn)*sin(2*3.1416*(ti/tn-td1/(2*tn))));% CASO
1
u2=ust*(2*sin(3.1416*td2/tn)*sin(2*3.1416*(ti/tn-td2/(2*tn))));% CASO
2
u3=ust*(2*sin(3.1416*td3/tn)*sin(2*3.1416*(ti/tn-td3/(2*tn))));% CASO
3
u4=ust*(2*sin(3.1416*td4/tn)*sin(2*3.1416*(ti/tn-td4/(2*tn))));% CASO
4
u5=ust*(2*sin(3.1416*td5/tn)*sin(2*3.1416*(ti/tn-td5/(2*tn))));% CASO
5
u6=ust*(2*sin(3.1416*td6/tn)*sin(2*3.1416*(ti/tn-td6/(2*tn))));% CASO
6
u7=ust*(2*sin(3.1416*td7/tn)*sin(2*3.1416*(ti/tn-td7/(2*tn))));% CASO
7

end

disp ( 'FUERZA DE PULSO RECTANGULAR: ust=(po/k)')

disp(' td1=0.125 td2=0.25 td3=1 td4=0.5 td5=2 td6=2.5


td7=3' )

disp(' u1 u2 u3 u4 u5 u6 u7
' ) %ordena valores calculados de constantes

disp( [ u1' u2' u3' u4' u5' u6' u7' ]) %ordena


resultados

disp(' ---- EJE X (ti/tn) VS EJEY(u1(t)/ust)----' )

disp(' ti/tn u1(t)/ust u2(t)/ust u3(t)/ust u4(t)/ust u5(t)/ust


u6(t)/ust u7(t)/ust ')
disp ([(ti/tn)' (u1/ust)' (u2/ust)' (u3/ust)' (u4/ust)' (u5/ust)'
(u6/ust)' (u7/ust)'])

35
INGENIERIA ANTICISMICA (PRACTICA N°3)

plot ( ti/tn,u1/ust)
hold on;
plot ( t2/tn,u2/ust)
hold on;
plot ( t3/tn,u3/ust)
hold on;
plot ( t4/tn,u4/ust)
hold on;
plot ( t5/tn,u5/ust)
hold on;
plot ( t6/tn,u6/ust)
hold on;
plot ( t7/tn,u7/ust)
hold on;

xlabel('t/tn') % etiqueta de tiempo en el grafico en el eje x


ylabel('u(t)/ust') % titulo del grafico en el eje y
title ('FUERZA DE PULSO RECTANGULAR')

36
INGENIERIA ANTICISMICA (PRACTICA N°3)

RESULTADO DEL COMANDO


WINDOWS

37
INGENIERIA ANTICISMICA (PRACTICA N°3)

m=
1
tn =
1
wn =
6.2832
po =
10
k=
39.4784

FUERZA DE PULSO RECTANGULAR: ust=(po/k)


td1=0.125 td2=0.25 td3=1 td4=0.5 td5=2 td6=2.5 td7=3
u1 u2 u3 u4 u5 u6 u7
Columns 1 through 4
-0.0741 -0.2531 0.0000 -0.5066
-0.0740 -0.2531 0.0000 -0.5066
-0.0741 -0.2531 0.0000 -0.5066
-0.0740 -0.2531 0.0000 -0.5066
-0.0741 -0.2531 0.0000 -0.5066

-0.0740 -0.2531 0.0000 -0.5066


-0.0741 -0.2531 0.0000 -0.5066
-0.0740 -0.2531 0.0000 -0.5066
-0.0741 -0.2531 0.0000 -0.5066
-0.0740 -0.2531 0.0000 -0.5066
-0.0741 -0.2531 0.0000 -0.5066
Columns 5 through 7
0.0000 -0.5066 0.0000

38
INGENIERIA ANTICISMICA (PRACTICA N°3)

0.0000 -0.5066 0.0000

0.0000 -0.5066 0.0000


0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000
0.0000 -0.5066 0.0000

---- EJE X (ti/tn) VS EJEY(u1(t)/ust)----


ti/tn u1(t)/ust u2(t)/ust u3(t)/ust u4(t)/ust u5(t)/ust u6(t)/ust u7(t)/ust
Columns 1 through 4
48.0000 -0.2924 -0.9993 0.0000
58.0000 -0.2923 -0.9992 0.0000
49.0000 -0.2924 -0.9993 0.0000
58.0000 -0.2923 -0.9992 0.0000
50.0000 -0.2924 -0.9993 0.0000
58.0000 -0.2923 -0.9992 0.0000
51.0000 -0.2924 -0.9993 0.0000
58.0000 -0.2923 -0.9992 0.0000
52.0000 -0.2924 -0.9992 0.0000
58.0000 -0.2923 -0.9992 0.0000
53.0000 -0.2923 -0.9992 0.0000

Columns 5 through 8
-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000

39
INGENIERIA ANTICISMICA (PRACTICA N°3)

-2.0000 0.0000 -2.0000 0.0000

-2.0000 0.0000 -2.0000 0.0000


-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000
-2.0000 0.0000 -2.0000 0.0000
Undefined function or variable 't2'.

40
INGENIERIA ANTICISMICA (PRACTICA N°3)

EJERCICIO 3C

41
INGENIERIA ANTICISMICA (PRACTICA N°3)

PULSO SINUSOIDAL DEL MEDIO CICLO

FORMULAS UTILIZADAS :

FASE DE VIBRACION FORZADA :

La fuerza es igual a la fuerza armonica p(t) =p senWo considerados anteriormente con la


frecuencia W=Pi/td

LAS FORMULAS UTILZIADAS ESTAN DETALLAS EN LOS EJERCICIOS ANETRIORES LO QUE ESTA A
CONTINUACION ES LO QUE LE SIGUE DE LAS FORMULAS EXPLCIADAS

SERAN UTILIZADAS PARA LA SOLUCION

42
INGENIERIA ANTICISMICA (PRACTICA N°3)

DATOS OBTENIDOS DEL PROGRAMA MATLAD 2016 A

%UNIVERSIDAD DE HUÀNUCO
%FACULTAD DE INGENIERIA CIVIL
%CURSO: ANTISISMICA
%DOCENTE:MAG. ING. "ERIC REM LOVON DAVILA"
%TERCERA TAREA ACADEMICA
%ALUMNO:"EDUARDO ROBLES CUESTAS"
%FUERZA DE PULSO SINOSOIDAL
%EJERCICIO N° 03-01 FUERZA DE PULSO SEMISUIDAL
%FECHA:06/03/2019
%N°DE LISTA 35

%DATOS

td1=0.125; % CASO 1
td2=0.25; % CASO 2
td3=1; % CASO 3
td4=0.5; % CASO 4
td5=2; % CASO 5
td6=2.5; % CASO 6
td7=3; % CASO 7

dt=3:2;
ti=2:dt:4;

m=1 % MASA
tn=1 % PERIODO NATURAL
wn=2*3.14/tn % PRECUENCIA NATURAL
po=10 % VECTOR FUERZA
k=wn^2*m % RIGIDEZ

ust=po/k;

%-----------------------CONDICIONES A CONSIDERAR----------------------
-----
%---------------------- FASE DE VIBRACION FORZADA---------------------
--------
% u(i)=ust*(1/(1-(tn/2*td)^2))*(sen(pi*ti/td)-
tn/(2*td)*sen(2*pi(ti/tn)));--------t<=td
%----------------------FASE DE VIBRACION------------------------------
-----
% u(i)=ust*((tn/td)*cos(pi*td/tn))/((tn/2*td)^2-1)*sen(2*pi*(ti/tn-
(1/2)*(td/tn))) --- t=>td
%----------------------FORMULA APLICADAS------------------------------
-----

43
INGENIERIA ANTICISMICA (PRACTICA N°3)

for i=1:length(ti);
ti=t(1);
if t1>td1;
u1(i)=ust*(1/(1-(tn/2*td1)^2))*(sen(pi*ti/td1)-
tn/(2*td1)*sen(2*pi(ti/tn)));
u6=ust*((tn/td1)*cos(pi*td1/tn))/((tn/2*td1)^2-
1)*sen(2*pi*(ti/tn-(1/2)*(td1/tn)))

end
end

dt=-2:-1;
t2=0:dt:2;

for i=1:length(ti)
ti=t2(i);
if ti>td2;
u2(i)=ust*(1/(1-(tn/2*td2)^2))*(sen(pi*ti/td2)-
tn/(2*td2)*sen(2*pi(ti/tn)));
u2=ust*((tn/td2)*cos(pi*td2/tn))/((tn/2*td2)^2-1)*sen(2*pi*(t2/tn-
(1/2)*(td2/tn)))

end
end

t3=0:1:2:3:4:5;

for i=1:length(ti)
ti=t3(i);
u3(i)=ust*(1/(1-(tn/2*td3)^2))*(sen(pi*ti/td3)-
tn/(2*td3)*sen(2*pi(ti/tn)));
if ti>td3;
u3=ust*((tn/td3)*cos(pi*td3/tn))/((tn/2*td3)^2-1)*sen(2*pi*(t3/tn-
(1/2)*(td3/tn)))

end
end

t4=3:4;

for i=1:length(ti)
ti=t4(i);
u4(i)=ust*(1/(1-(tn/2*td4)^2))*(sen(pi*ti/td4)-
tn/(2*td4)*sen(2*pi(ti/tn)));
if ti>td4;
u4=ust*((tn/td4)*cos(pi*td4/tn))/((tn/2*td4)^2-1)*sen(2*pi*(ti/tn-
(1/2)*(td4/tn)))

end
end

t5=5

for i=1:length(ti)
ti=t5(i);
u5(i)=ust*(1/(1-(tn/2*td5)^2))*(sen(pi*ti/td5)-
tn/(2*td5)*sen(2*pi(ti/tn)));
if ti>td2;

44
INGENIERIA ANTICISMICA (PRACTICA N°3)

u5=ust*((tn/td5)*cos(pi*td5/tn))/((tn/2*td5)^2-1)*sen(2*pi*(ti/tn-
(1/2)*(td5/tn)))

end
end

t6=6

for i=1:length(ti)
ti=t6(i);
u6(i)=ust*(1/(1-(tn/2*td6)^2))*(sen(pi*ti/td6)-
tn/(2*td6)*sen(2*pi(ti/tn)));
if ti>td2;
u6=ust*((tn/td6)*cos(pi*td2/tn))/((tn/2*td6)^2-1)*sen(2*pi*(ti/tn-
(1/2)*(td6/tn)))

end
end

t7=7

for i=1:length(ti)
ti=t7(i);
u7(i)=ust*(1/(1-(tn/2*td7)^2))*(sen(pi*ti/td2)-
tn/(2*td2)*sen(2*pi(ti/tn)));
if ti>td2;
u7=ust*((tn/td7)*cos(pi*td2/tn))/((tn/2*td2)^2-1)*sen(2*pi*(ti/tn-
(1/2)*(td2/tn)))
end
end
%{
u1=ust*(cos(wn*(ti-td1))-cos(wn*(ti))) % CASO 1 EN f(wn)
u2=ust*(cos(wn*(ti-td2))-cos(wn*(ti))) % CASO 2 EN f(wn)
u3=ust*(cos(wn*(ti-td3))-cos(wn*(ti))) % CASO 3 EN f(wn)
u4=ust*(cos(wn*(ti-td4))-cos(wn*(ti))) % CASO 4 EN f(wn)
u5=ust*(cos(wn*(ti-td5))-cos(wn*(ti))) % CASO 5 EN f(wn)
u6=ust*(cos(wn*(ti-td6))-cos(wn*(ti))) % CASO 6 EN f(wn)
u7=ust*(cos(wn*(ti-td7))-cos(wn*(ti))) % CASO 7 EN f(wn)
%}

disp ( 'FUERZA DE FUERZA DE PULSO SEMISUIDAL : ust=(po/k)')

disp(' td1=0.125 ')

disp(' u1 ') %ordena valores calculados de constantes

disp( u1' ) %ordena resultados

disp(' td2=0.25 ' )

disp(' u2 ' ) %ordena valores calculados de constantes

disp( u2' ) %ordena resultados

disp(' td3=1 ' )

disp(' u3 ' ) %ordena valores calculados de constantes

45
INGENIERIA ANTICISMICA (PRACTICA N°3)

disp( u3' ) %ordena resultados

disp(' td4=0.5 ' )

disp(' u4 ' ) %ordena valores calculados de constantes

disp( u4' ) %ordena resultados

disp(' td5=2 ' )

disp(' u5 ' ) %ordena valores calculados de constantes

disp( u5' ) %ordena resultados

disp(' td6=2.5 ' )

disp(' u6 ' ) %ordena valores calculados de constantes

disp( u6' ) %ordena resultados

disp(' td7=3' )

disp(' u7 ' ) %ordena valores calculados de constantes

disp( u7' ) %ordena resultados

disp(' ---- EJE X (ti/tn) VS EJEY(u1(t)/ust)----' )

disp(' u1(t)/ust u2(t)/ust u3(t)/ust u4(t)/ust u5(t)/ust u6(t)/ust


u7(t)/ust ')
disp ([(ti/tn)' (u1/ust)' (u2/ust)' (u3/ust)' (u4/ust)' (u5/ust)'
(u6/ust)' (u7/ust)'])

plot ( td1/tn,u2/ust)
hold on;
plot ( td2/tn,u3/ust)
hold on;
plot ( td3/tn,u4/ust)
hold on;
plot ( td5/tn,u5/ust)
hold on;
plot ( td6/tn,u6/ust)
hold on;
plot ( td7/tn,u7/ust)
hold on;

xlabel('t/tn') % etiqueta de tiempo en el grafico en el eje x


ylabel('u(t)/ust') % titulo del grafico en el eje y
title ('FUERZA DE PULSO SINOSOIDAL')

46

Potrebbero piacerti anche