Documentos de Académico
Documentos de Profesional
Documentos de Cultura
hold off
t=0:0.05:10;
R=input('ingrese el valor de R = ')
W=input('ingrese el valor de W = ')
x=R.*(1-cos(W.*(pi/30).*t));
plot(t,x)
hold on
f=W*2*pi/(60*2*pi)
grid
title ('grafica x-t del mecanismo yugo escoces')
xlabel('tiempo')
ylabel('desplazamiento del mecanismo')
Ingrese el valor de R
R= 5
Ingrese el valor de W
W = 20 rpm
f=0.3333 Hz
grafica x-t del mecanismo yugo escoces
10
9
8
7
6
5
4
3
2
1
0
5
tiempo
10
desplazamiento
R = 5 W =4 0rpm
f=0.6667 Hz
grafica x-t del mecanismo yugo escoces
10
9
8
7
6
5
4
3
2
1
0
W = 60 rpm
5
tiempo
10
desplazamiento
f=1 Hz
grafica x-t del mecanismo yugo escoces
10
9
8
desplazamiento del mecanismo
R=5
7
6
5
4
3
2
1
0
5
tiempo
10
desplazamiento
VELOCIDAD
hold off
t=0:0.05:10;
R=input('ingrese el valor de R = ')
W=input('ingrese el valor de W = ')
v=(W.*(pi/30)).*R.*sin(W.*(pi/30).*t);
plot(t,v)
hold on
f=W*2*pi/(60*2*pi)
grid
title ('grafica v-t del mecanismo yugo escoces')
xlabel('tiempo')
ylabel('velocidad del mecanismo')
Ingrese el valor de R
R= 5
Ingrese el valor de W
W = 20 rpm
f=0.3333 Hz
10
-5
-10
-15
5
tiempo
10
R= 5
W =4 0 rpm
f=0.6667 Hz
grafica v-t del mecanismo yugo escoces
25
velocidad
20
15
10
5
0
-5
-10
-15
-20
-25
R = 5 W = 60 rpm
5
tiempo
10
f=1 Hz
grafica v-t del mecanismo yugo escoces
40
velocidad
30
20
10
0
-10
-20
-30
-40
ACELERACION
5
tiempo
10
hold off
t=0:0.05:10;
R=input('ingrese el valor de R = ')
W=input('ingrese el valor de W = ')
a=(W.*(pi/30).*W.*(pi/30)).*R.*cos(W.*(pi/30).*t);
plot(t,a)
hold on
f=W*2*pi/(60*2*pi)
grid
title ('grafica a-t del mecanismo yugo escoces')
xlabel('tiempo')
ylabel('aceleracion del mecanismo')
ingrese el valor de R = 5
R=5
ingrese el valor de W = 20
W = 20 rpm
f=0.3333 Hz
grafica a-t del mecanismo yugo escoces
aceleracion
25
20
15
10
5
0
-5
-10
-15
-20
-25
R=5
W = 40 rpm
f=0.6667 Hz
5
tiempo
10
aceleracion
100
80
60
40
20
0
-20
-40
-60
-80
-100
R = 5 W = 60 rpm
5
tiempo
10
f=1 Hz
aceleracion
200
150
100
50
0
-50
-100
-150
-200
5
tiempo
10
ganma
80
70
ganma
60
50
40
30
20
50
100
150
200
teta2
250
300
350
400
Para el ejemplo de 2 = 60
hold off
t2=60;
r1=input('ingrese el valor de r1 = ')
r2=input('ingrese el valor de r2 = ')
r3=input('ingrese el valor de r3 = ')
r4=input('ingrese el valor de r4 = ')
z2=(r1*r1)+(r2*r2)-(2*r1*r2*cos(pi*t2/180));
ganma=acos((z2-(r3*r3)-(r4*r4))/(-2*r3*r4))*(180/pi)
plot(t2,ganma)
hold on
alfa=acos((z2-(r3*r3)+(r4*r4))/(2*sqrt(z2)*r4))*(180/pi)
beta=acos((z2-(r2*r2)+(r1*r1))/(2*sqrt(z2)*r1))*(180/pi)
teta4=180-(alfa+beta)
grid
title ('grafico ganma-teta2 mecanismo de 4 barras')
xlabel('teta2')
ylabel('ganma')
ingrese el valor de r1 = 7
r1 = 7
ingrese el valor de r2 = 3
r2 = 3
ingrese el valor de r3 = 8
r3 = 8
ingrese el valor de r4 = 6
r4 = 6
ganma = 48.9855
alfa = 82.9175
beta = 25.2850
teta4 = 71.7976
ALUMNO:
COD: 032592-B
CUSCO-PER