Você está na página 1de 7

disp('PROBLEM 12-85');

disp('A particle moves along the curve y = x - (x^2/400),where x and y are in ft.
If the velocity component in the x direction is vx = 2 ft/s and remains constant,
determine the magnitudes of the velocity and acceleration when x = 20 ft.')
disp('y = x - (x^2/400)');
disp('Given:');
disp('vx = 2 ft/s');
disp('x = 20 ft');
disp('ax = 0 ');
disp('Determine the magnitude of velocity and acceleration');
vx=input('Enter the vx:');
x=input('Enter distance x:');
vy=vx-(x/200)*vx;
v=sqrt(vx^2+vy^2);
fprintf('The magnitude of velocity is %0.2f. ',v);
ax=input('Enter ax:');
ay= ax-1/200*(vx^2+x*ax);
fprintf('ay is %0.2f. ',ay);
a=sqrt(ax^2+ay^2);
fprintf('The acceleration is %0.2f. ',a)

disp('PROBLEM 12-86')
disp('The motorcycle travels with constant speed Vo along the path that, for a
short distance, takes the form of a sine curve. Determine the x and y components
of its velocity at any instant on the curve.');
disp('Given:');
disp('y=csin((pi/L)*x)');
disp('Vo^2=Vy^2+Vx^2');
disp('Vo^2=Vx^2(1+(pi/L)*c))^2 cos^2(pi/L)*(x))');
disp('ANSWER:')
disp('Vx=Vo(1+(pi/L)*(c))^2 cos^2(pi/L)*(x))^-1/2')

disp('PROBLEM 12-87');
disp('The skateboard rider leaves the ramp at A with an initial velocity vA at a
30° angle. If he strikes the ground at B, determine vA and the time of flight.')
disp('Given:');
disp('Angle = 30');
disp('Xa = 0');
disp('Xb = 5m');
disp('Va = 6.49 m/s');
disp('Determine time of flight');
xa=input('Enter xa:');
xb=input('Enter xb:');
Va=input('Enter speed (Va):');
t=(5/(Va*sqrt(3)/2));
fprintf('The time of flight is %0.2f. ',t)

disp('PROBLEM 13-85');
disp('Determine the magnitude of the resultant force acting on a 5-kg particle at
the instant t = 2 s, if the particle is moving along a horizontal path defined by
the equations r= (2t + 10) m and teta = (1.5t2 - 6t) rad, where t is in
seconds.')
disp('Given:');
disp('5kg particle');
disp('t=2s');
disp('r = (2t + 10) m');
disp('angle=1.5t2 - 6t');
disp('Determine the magnitude of the resultant force');
t=input('Enter value of time:');
m=input('Enter mass of particle:');

r = 2*t + 10;
diff(r);

teta = 3;

xy=teta*r*m;
F=sqrt(xy^2);
fprintf('The resultant force is %0.2f. ',F)

disp('PROBLEM 13-86');
disp('A 2-kg particle travels along a horizontal smooth path defined by r=(1/4
t^3 +2) m and teta = (t^2/4) rad, where t is in seconds. Determine the radial and
transverse components of force exerted on the particle when t = 2 s.')
disp('Given:');
disp('mass = 2 kg');
disp('r=(1/4 t^3 +2) m');
disp('teta = (t^2/4) rad');
disp('t = 2s');
m=input('Enter mass:');
ar=3-4*(1)^2;
ao=4*(0.5)+(2*3);
Fr=m*ar;
fprintf('The radial force %0.2f. ',Fr)
Fo=m*ao;
fprintf('The transverse force %0.2f. ',Fo)

disp('PROBLEM 13-87');
disp('A 2-kg particle travels along a path defined by r = (3t + 2t^2) m, teta =
(1/3t^3 + 2) rad and z = (5 - 2t^2) where t is in seconds. Determine the r, teta,
z components of force that the path exerts on the particle at the instant t = 1
s. ')
disp('Given:');
disp('mass = 2kg');
disp('t = 1 s');
disp('r = (3t + 2t^2) m');
disp('teta = (1/3t^3 + 2) rad');
disp('z = (5 - 2t^2)');
m=input('Enter mass of particle:');
t=input('Enter time:');
ar=4-5*(1)^2;
ao=(5*m)+(2*4*1);
az=0-4;
Fr=m*ar;
Fo=m*ao;
Fz=(m*az)+(m*9.81);
fprintf('The component r is %0.2f. ',Fr);
fprintf('The component o is %0.2f. ',Fo);
fprintf('The component z is %0.2f. ',Fz);

disp('PROBLEM 14-85');
disp('The cylinder has a mass of 20 kg and is released from rest when h = 0.
Determine its speed when h = 3 m. The springs each have an unstretched length of
2 m.')
disp('Given:');
disp('mass = 20 kg');
disp('h1= 0');
disp('unstretched length = 2 m');
disp('Determine its speed when h = 3m.');
l=input('Enter length:');
h=input('Enter height:');
x=sqrt(l^2+h^2);
P=40*(x-2)^2;
PE=0-P;
y=(PE+588.6)/10;
v=sqrt(y);
fprintf('The speed is %0.2f. ',v);

disp('PROBLEM 14-86');
disp(['Determine his speed just after the vine strikes the lower limb at B. ' ...
'Also, with what force must he hold on to the vine just before and just after
the ' ...
'vine contacts the limb at B?']);
disp('Given:');
disp('mass = 100 kg');
disp('h= 10 m');
m=input('Enter mass:');
h=input('Enter height:');
g=9.81;
z1=sqrt(2)/2;
vc=sqrt(2*g*h*(1-z1));
fprintf('The speed at is %0.2f. ',vc);
T1=(m*(vc^2/h)+981)/1000;
T2=(m*(vc^2/3)+981)/1000;
fprintf('The force 1 :%0.2f. ',T1);

fprintf('The force 2 :%0.2f. ',T2);

disp('PROBLEM 14-87');
disp(['The roller-coaster car has a mass of 800 kg,including its passenger,' ...
' and starts from the top of the hill A with a speed vA = 3 m/s. ' ...
'Determine the minimum height h of the hill so that the car travels around
both inside' ...
' loops without leaving the track. Neglect friction, the mass of the wheels,'
...
' and the size of the car.What is the normal reaction on the car when the car
is at B and at C?'])
disp('Given:');
disp('mass = 800 kg');
disp('Va= 3 m/s');
m=input('Enter mass:');
Va=input('Enter velocity at A:');
Vb=sqrt(9.81*10*m/m);
x=(1/2*m*Va^2-(1/2*m*Vb^2));
y=m*9.81;
z=0-y;
h=(x/z)+20;
fprintf('The height is %0.2f. ',h)
a=1/2*Va^2+(m*9.81*(h-14));
b=1/2*m;
Vc=sqrt(a/b);
Nc=m*(Vc^2/7)-(m*9.81);
fprintf('The normal reaction at c is %0.2f. ',Nc);

disp('PROBLEM 15-85')
disp('Disks A and B have a mass of 15 kg and 10 kg, respectively. If they are
sliding on a smooth horizontal plane with the velocities shown, determine their
speeds just after impact.The coefficient of restitution between them is e =
0.8.')
disp('Given:');
disp('mass a = 15 kg');
disp('mass b = 10 kg');
disp('teta a=102.52');
disp('teta b=42.99')
disp('e = 0.8');
massa=input('Enter mass of a:');
massb=input('Enter mass of b:');
tetaa=input('Enter value of teta a:');
tetab=input('Enter value of teta b:');
x=0-1.776;
y=6.864;
Va=x/-0.2168;
Vb=y/0.7315;
fprintf('The speed of a is %0.2f. ',Va);
fprintf('The speed of b is %0.2f. ',Vb);
disp('PROBLEM 15-86');
disp('Disks A and B have a mass of 6 kg and 4 kg, respectively. If they are
sliding on the smooth horizontal plane with the velocities shown, determine their
speeds just after impact. The coefficient of restitution between the disks is e =
0.6.');
disp('Given:');
disp('mass a = 6 kg');
disp('mass b = 4 kg');
disp('teta a=86.04');
disp('teta b=61.16')
disp('e = 0.6');
massa=input('Enter mass of a:');
massb=input('Enter mass of b:');
tetaa=input('Enter value of teta a:');
tetab=input('Enter value of teta b:');
Va=9.659/0.9976;
Vb=4.330/0.8760;
fprintf('The speed of a is %0.2f. ',Va);
fprintf('The speed of b is %0.2f. ',Vb);

disp('PROBLEM 15-87');
disp('Disks A and B weigh 8 lb and 2 lb, respectively. If they are sliding on the
smooth horizontal plane with the velocities shown, determine their speeds just
after impact. The coefficient of restitution between them is e = 0.5.');
disp('Given:');
disp('mass a = 8 lb');
disp('mass b = 2 lb');
disp('teta a= 72.86');
disp('teta b= 42.80')
disp('e = 0.6');
massa=input('Enter mass of a:');
massb=input('Enter mass of b:');
tetaa=input('Enter value of teta a:');
tetab=input('Enter value of teta b:');
Va=12/0.9556;
Vb=10/0.6794;
fprintf('The speed of a is %0.2f. ',Va);
fprintf('The speed of b is %0.2f. ',Vb);

Você também pode gostar