Você está na página 1de 28

1.

-LIMITES
Ejercicio 1
>> syms x
>> y=(exp(x)-1)/log(1+x)

y=
(exp(x) - 1)/log(x + 1)

>> L=limit(y,x,0)
L=
1

>> ezplot(y,[-1,1])
>> grid on
Ejercicio 2
>> syms x
>> y=(x+sin(pi*x))/(x-sin(x*pi))

y=
(x + sin(pi*x))/(x - sin(pi*x))

>> L=limit(y,x,0)

L=
-(pi + 1)/(pi - 1)

>> ezplot(y,[-1,1])
>> grid on
Ejercicio 3
>> syms x
>> y=(exp(x)+x)^(1/x)

y=
(x + exp(x))^(1/x)

>> L=limit(y,x,0)

L=
exp(2)

>> ezplot(y,[-1,1])
>> grid on
Ejercicio 4
>> syms x
>> y=(sin(3*x))/(1-2*cos(x))

y=
-sin(3*x)/(2*cos(x) - 1)

>> L=limit(y,x,(pi/3))

L=
-3^(1/2)

>> ezplot(y,[0,((2*pi)/3)])
>> grid on
Ejercicio 5
>> syms x
>> y=(x^4+1)^(1/log(x))

y=
(x^4 + 1)^(1/log(x))

>> L=limit(y,x,inf)

L=
exp(4)

>> ezplot(y,[0,1000])
>> grid on
Ejercicio 6
>> syms x
syms a
>> y=(x*(exp(a*x))-x)/(1-cos(a*x))

y=

(x - x*exp(a*x))/(cos(a*x) - 1)

>> L=limit(y,x,0)

L=

2/a

>> ezplot(y,[-1,1])
grid on

GRAFICA INDEFINIDA

2.-DERIVADAS
Ejercicio 1
>> syms x
>> y=(3*(x^2)-2*x)*(1/6)*((7-5*(x^6))^2)

y=
-(- x^2/2 + x/3)*(5*x^6 - 7)^2

>> d1=diff(y,1)

d1 =
(5*x^6 - 7)^2*(x - 1/3) - 60*x^5*(- x^2/2 + x/3)*(5*x^6 - 7)

>> d2=diff(y,2)

d2 =
(5*x^6 - 7)^2 - 1800*x^10*(- x^2/2 + x/3) - 300*x^4*(- x^2/2 + x/3)*(5*x^6 -
7) + 120*x^5*(5*x^6 - 7)*(x - 1/3)

>> subs(d3,x,2)

ans =
2893685/3

>> subs(d2,x,2)

ans =
6561969

Ejercicio 2
>> syms x
>> y=((7*x-5)^2)*(4*x^3+3*x)/((x-1)^2)

y=
((7*x - 5)^2*(4*x^3 + 3*x))/(x - 1)^2

>> d1=diff(y,1)

d1 =
((98*x - 70)*(4*x^3 + 3*x))/(x - 1)^2 - (2*(7*x - 5)^2*(4*x^3 + 3*x))/(x - 1)^3
+ ((7*x - 5)^2*(12*x^2 + 3))/(x - 1)^2

>> subs(d1,x,2)

ans =
2763

>> d2=diff(y,2)

d2 =
(98*(4*x^3 + 3*x))/(x - 1)^2 - (4*(98*x - 70)*(4*x^3 + 3*x))/(x - 1)^3 +
(2*(98*x - 70)*(12*x^2 + 3))/(x - 1)^2 + (6*(7*x - 5)^2*(4*x^3 + 3*x))/(x -
1)^4 + (24*x*(7*x - 5)^2)/(x - 1)^2 - (4*(7*x - 5)^2*(12*x^2 + 3))/(x - 1)^3

>> subs(d2,x,2)

ans =
3256

Ejercicio 3
>> syms a b c d e f x
>> y=(d*x^2+e*x+f)/(((x^2)/a)+(x/b)+(1/c))

y=
(d*x^2 + e*x + f)/(x/b + 1/c + x^2/a)

>> d1=diff(y,1)

d1 =
(e + 2*d*x)/(x/b + 1/c + x^2/a) - (((2*x)/a + 1/b)*(d*x^2 + e*x + f))/(x/b + 1/c
+ x^2/a)^2
>> subs(d1,x,2)

ans =
(4*d + e)/(4/a + 2/b + 1/c) - ((4/a + 1/b)*(4*d + 2*e + f))/(4/a + 2/b + 1/c)^2

>> d2=diff(y,2)

d2 =
(2*d)/(x/b + 1/c + x^2/a) + (2*((2*x)/a + 1/b)^2*(d*x^2 + e*x + f))/(x/b + 1/c
+ x^2/a)^3 - (2*((2*x)/a + 1/b)*(e + 2*d*x))/(x/b + 1/c + x^2/a)^2 - (2*(d*x^2
+ e*x + f))/(a*(x/b + 1/c + x^2/a)^2)

>> subs(d2,x,2)

ans =
(2*d)/(4/a + 2/b + 1/c) + (2*(4/a + 1/b)^2*(4*d + 2*e + f))/(4/a + 2/b + 1/c)^3
- (2*(4*d + 2*e + f))/(a*(4/a + 2/b + 1/c)^2) - (2*(4/a + 1/b)*(4*d + e))/(4/a +
2/b + 1/c)^2

Ejercicio 4

>> syms a b c x
>> y=(x-a)*(x-b)*(x-c)

y=
-(a - x)*(b - x)*(c - x)

>> d1=diff(y,1)

d1 =
(a - x)*(b - x) + (a - x)*(c - x) + (b - x)*(c - x)

>> subs(d1,x,2)

ans =
(a - 2)*(b - 2) + (a - 2)*(c - 2) + (b - 2)*(c - 2)

>> d2=diff(y,2)

d2 =
6*x - 2*b - 2*c - 2*a

>> subs(d2,x,2)

ans =
12 - 2*b - 2*c - 2*a
Ejercicio 5
>> syms x a
>> y=((x+a)^(1/3))*((x-a)^(-1/3))

y=
(a + x)^(1/3)/(x - a)^(1/3)

>> d1=diff(y,1)

d1 =
1/(3*(a + x)^(2/3)*(x - a)^(1/3)) - (a + x)^(1/3)/(3*(x - a)^(4/3))

>> subs(d1,x,2)

ans =
1/(3*(2 - a)^(1/3)*(a + 2)^(2/3)) - (a + 2)^(1/3)/(3*(2 - a)^(4/3))

>> d2=diff(y,2)

d2 =
(4*(a + x)^(1/3))/(9*(x - a)^(7/3)) - 2/(9*(a + x)^(5/3)*(x - a)^(1/3)) - 2/(9*(a +
x)^(2/3)*(x - a)^(4/3))

>> subs(d2,x,2)
ans =
(4*(a + 2)^(1/3))/(9*(2 - a)^(7/3)) - 2/(9*(2 - a)^(4/3)*(a + 2)^(2/3)) - 2/(9*(2 -
a)^(1/3)*(a + 2)^(5/3))

Ejercicio 6
>> syms x
>> y=(1+(x^2-7)^(1/2))^(1/2)

y=
((x^2 - 7)^(1/2) + 1)^(1/2)

>> d1=diff(y,1)

d1 =
x/(2*(x^2 - 7)^(1/2)*((x^2 - 7)^(1/2) + 1)^(1/2))

>> subs(d1,x,2)

ans =
-(3^(1/2)*1i)/(3*(1 + 3^(1/2)*1i)^(1/2))

>> d2=diff(y,2)

d2 =
1/(2*(x^2 - 7)^(1/2)*((x^2 - 7)^(1/2) + 1)^(1/2)) - x^2/(4*(x^2 - 7)*((x^2 -
7)^(1/2) + 1)^(3/2)) - x^2/(2*(x^2 - 7)^(3/2)*((x^2 - 7)^(1/2) + 1)^(1/2))

>> subs(d2,x,2)

ans =
- (3^(1/2)*7i)/(18*(1 + 3^(1/2)*1i)^(1/2)) + 1/(3*(1 + 3^(1/2)*1i)^(3/2))

3.-INTEGRALES
Ejercicio 1
>> syms x
>> y=(log10(x))/(x^(1/2))

y=

log(x)/(x^(1/2)*log(10))
>> I=int(y)

I=

(2*x^(1/2)*(log(x) - 2))/log(10)

Ejercicio 2
>> syms x
>> y=atan(x^(1/2))

y=
atan(x^(1/2))

>> I=int(y)

I=
atan(x^(1/2)) + x*atan(x^(1/2)) - x^(1/2)

Ejercicio 3
>> syms x a b
>> y=a/(x^2+b^2)

y=
a/(b^2 + x^2)

>> I=int(y)

I=
(a*atan(x/b))/b

Ejercicio 4
>> syms x
>> y=(x+1)/(x^2+4*x+5)

y=
(x + 1)/(x^2 + 4*x + 5)

>> I=int(y)

I=
log(x^2 + 4*x + 5)/2 - atan(x + 2)

Ejercicio 5
>> syms x
>> y=(x^2)/(x^2-x+1)

y=
x^2/(x^2 - x + 1)

>> I=int(y)

I=

x + log(x^2 - x + 1)/2 - (3^(1/2)*atan((2*3^(1/2)*x)/3 - 3^(1/2)/3))/3

Ejercicio 6
>> syms x
>> y=(x^2)/(x^2+x+1)

y=

x^2/(x^2 + x + 1)

>> I=int(y)

I=
x - log(x^2 + x + 1)/2 - (3^(1/2)*atan((2*3^(1/2)*x)/3 + 3^(1/2)/3))/3

4.-COORDENADAS CARTESIANAS
Ejercicio 1
>> syms x
>> x=linspace(-3,3,1000);
>> y=x.^2.*(x<0)-1.*(x>=0);
>> plot(x,y,'m')
>> grid on
Ejercicio 2

>> syms x
>> x=linspace(-10,15,1000);
>> y=-x.*(x<-1)+1.*((x<2)&(x>0))-x.^2.*(x>2);
>> plot(x,y,'m')
>> grid on

4.-ECUACIONES PARAMETRICAS
Ejercicio 1
>> syms t
>> t=linspace(-pi,pi,100);
>> plot((3*sin(t)),2*sin(2*t))
Ejercicio 2
>>syms t
>> t=linspace(-pi,pi,100);
>> plot(sin(2*t)+sin(t),-cos(2*t)-cos(t));
4.-COORDENADAS POLARES
Ejercicio 1
>> syms theta
>> theta=linspace(-pi,pi,100);
>> r=7-7*sin(theta);
>> polar(theta,r)

Ejercicio 2
>> syms theta
>> theta=linspace(-pi,pi,100);
>> r=3-6*sin(theta);
>> polar(theta,r)

Ejercicio 3
>> syms theta
>> theta=linspace(-pi,pi,100);
>> r=sin(6*theta);
>> polar(theta,r)

Ejercicio 4
>> syms theta
>> theta=linspace(-pi,pi,100);
>> r=sin(8*theta);
>> polar(theta,r)

Você também pode gostar