You are on page 1of 3

% Preparando la memoria

clc
clear all
close all
% Definir las longitudes
L1 = 720;
L2 = 370;
L3 = 440;
L4 = 300;
% Definir
Theta_1 =
Theta_2 =
Theta_3 =
Theta_4 =

ngulos
0;
60;
355.2578;
108.7650;

% Definir velocidad angular


Theta_2_punto = 3
%
A
B
C
D

Definir variables
= L2*sind(Theta_4
= L2*sind(Theta_3
= L3*sind(Theta_3
= L4*sind(Theta_3

auxiliares
- Theta_2);
- Theta_2);
- Theta_4);
- Theta_4);

% Hallando Theta_3_punto : A/C L2*sind(Theta_4 Theta_2)/L3*sind(Theta_3 - Theta_4)


Theta_3_punto = A / C * Theta_2_punto
% Hallando Theta_4_punto : B/C
L4*sind(Theta_3 - Theta_4)

L2*sind(Theta_3 - Theta_2)/

Theta_4_punto = B / D * Theta_2_punto
% Hallando velocidades Va, Vb y Vb/a:
Va = Theta_2_punto * L2
Vb = Theta_4_punto * L4
Vrelativa = Theta_3_punto * L3
% Definicion angulos del vector velocidad con respecto al eje "x"
Theta_Va = Theta_2 + 90;
Theta_Vb = Theta_4 + 90;
Theta_Vrelativa = Theta_3 + 360;
% Hallando componentes en "x" de las velocidades
Vax = Va*cosd(Theta_Va)
Vbx = Vb*cosd(Theta_Vb)

% Hallando componentes en "y" de las velocidades


Vay = Va*sind(Theta_Va)
Vby = Vb*sind(Theta_Vb)
% Hallando los vectores V_A y V_B
V_A = linspace(Vax, Vay, 2)
V_B = linspace(Vbx, Vby, 2)

Theta_2_punto =
3
Theta_3_punto =
-2.0688
Theta_4_punto =
3.6491
Va =
1110
Vb =
1.0947e+003
Vrelativa =
-910.2777
Vax =
-961.2882
Vbx =

-1.0365e+003
Vay =
555.0000
Vby =
-352.1617
V_A =
-961.2882

555.0000

V_B =
1.0e+003 *
-1.0365

-0.3522

You might also like