Sie sind auf Seite 1von 7

CORRECCIÓN DE LA

PRUEBA PARCIAL

Table of Contents
Primer ejercicio .................................................................................................................. 1
Segundo ejercicio ................................................................................................................ 2
Gráfica v-t ......................................................................................................................... 2
Gráfica s-t .......................................................................................................................... 3
Tercer ejercicio ................................................................................................................... 4
Gráfica a-t ......................................................................................................................... 4
Gráfica v-t ......................................................................................................................... 5
Gráfica s-t .......................................................................................................................... 6

Nombre : Edgar Gallegos

Primer ejercicio
%Encontrar la ecuación de la recta tangente a la gráfica de f en el
punto indicado.

%Función
y = x.^4-3*x.^2+2; % (1,0)
y1 = x.^3+x; % (-1,-2)
y2 = (2)./(x.^(3./4)); % (1,2)
y3 = (x.^2+2*x).*(x+1); % (1,6)
% Derivada
dy = 4*x.^3-6*x;
m1 = -2; % Pendiente con el punto(1,0)
y4 = -2*x+2; % Ecuación de la recta tangente
dy1 = 3*x.^2+1;
m2 = 4; % Pendiente con el punto(-1,-2)
y5 = 4*x+2; % Ecuación de la recta tangente
dy2 = -3./(2*(x.^7./4));
m3 = -3./2; % Pendiente con el punto(1,2)
y6 = (-(3*x)./(2))+((7)./(2)); % Ecuación de la recta tangente
dy3 = 3*x.^2+6*x+2;
m4 = 11; % Pendiente con el punto(1,6)
y7 = 11*x-5; % Ecuación de la recta tangente
% Derivando con matlab
syms x
%y = x.^4-3*x.^2+2
diff(x.^4-3*x.^2+2);
ans = 4*x^3-6*x;
%y1 = x.^3+x
diff(x.^3+x,x);
ans = 3*x^2 + 1;
%y2 = (2)./(x.^(3./4))

1
CORRECCIÓN DE LA
PRUEBA PARCIAL

diff((2)./(x.^(3./4)),x);
ans = -3/(2*x^(7/4));
%y3 = (x.^2+2*x).*(x+1)
diff((x.^2+2*x).*(x+1),x)
ans = 2*x + (2*x + 2)*(x + 1) + x^2;

ans =

2*x + (2*x + 2)*(x + 1) + x^2

Segundo ejercicio
%La posición de una partícula a lo largo de una linea recta está
dada por s=1.5*t.^3-13.5*t.^2+22.5*t m, donde t está en segundos.
Determine la posición cuando t=6s y la distancia total que recorre
durante el intervalo de 6s. Trace las gráficas v-t y s-t.

Gráfica v-t
t = 0:0.1:6;
v = 4.50*t.^2-27*t+22.5;
figure
plot(t,v,'b');
xlabel('Tiempo (s)')
ylabel(('Velocidad (m/s)'))
hold on
grid on
title('v-t')
legend({'v = 4.50*t.^2-27*t+22.5'})

2
CORRECCIÓN DE LA
PRUEBA PARCIAL

Gráfica s-t
t = 0:0.1:6;
s = 1.5*t.^3-13.5*t.^2+22.5*t;
figure
plot(t,s,'c');
xlabel('Tiempo (s)')
ylabel(('Posición (m)'))
hold on
grid on
title('s-t')
legend({'s = 1.5*t.^3-13.5*t.^2+22.5*t'})

3
CORRECCIÓN DE LA
PRUEBA PARCIAL

Tercer ejercicio
%El avión despega con la aceleración descrita por la gráfica. Sí
arranca del reposo y requiere una velocidad de 90 m/s para despegar,
determine la longitud minima de la pista requerida y el tiempo t'
para despegar. Trace las gráficas de v-t y s-t.

Gráfica a-t
t1 = 0:0.1:10;
t2 = 10:0.1:16.25;
a = 0.8*t1;
a1 =((t2>=10)&(t2<=16.25)).*(8);
figure
plot(t1,a,'r');
xlabel('Tiempo (s)')
ylabel(('Aceleración (m/s^2)'))
hold on
grid on
plot(t2,a1,'b');
axis ([0 18 0 9] )
title('a-t')
legend({'a = 0.8*t1','a1 = 8'},'location','Northwest')

4
CORRECCIÓN DE LA
PRUEBA PARCIAL

Gráfica v-t
t1 = 0:0.1:10;
t2 = 10:0.1:16.25;
v1 = 0.4*t1.^2;
v2 = 8*t2-40;
figure
plot(t1,v1,'b');
xlabel('Tiempo (s)')
ylabel(('Velocidad (m/s)'))
hold on
grid on
plot(t2,v2,'r');
title('v-t')
legend({'v1 = 0.1*t4.^2','v2 = 8*t5-40'},'location','Northwest')

5
CORRECCIÓN DE LA
PRUEBA PARCIAL

Gráfica s-t
t1 = 0:0.1:10;
t2 = 10:0.1:16.25;
s1 = 0.13*t1.^3;
s2 = 4*t2.^2-40*t2+133.33;
figure
plot(t1,s1,'r');
xlabel('Tiempo (s)')
ylabel(('Posicióm (m)'))
hold on
grid on
plot(t2,s2,'m');
title('s-t')
legend({'s1 = 0.13*t1.^3','s2 =
t*t2.^2-40*t2+133.33'},'location','Northwest')

6
CORRECCIÓN DE LA
PRUEBA PARCIAL

Published with MATLAB® R2017b

Das könnte Ihnen auch gefallen