Esplora E-book
Categorie
Esplora Audiolibri
Categorie
Esplora Riviste
Categorie
Esplora Documenti
Categorie
1.-Represente gráficamente la siguiente función para determinar los intervalos que contienen
raíces de la ecuación ln ( x )−0.2 x 2+1=0.Cree un archivo.m , denominado
graf_biseccion_G1.m.
%grafica de una funcion
syms x;
f=log(x)-0.2*x^2+1;
ezplot(f);
grid on
log(x) - x 2/5 + 1
-1
-2
-3
-4
-5
0 1 2 3 4 5 6
x
>> syms x;
>> f=log(x)-0.2*x^2+1;
>> solve(f)
ans =
(-(5*lambertw(0, -(2*exp(-2))/5))/2)^(1/2)
0.3786
ans =
-0.3786 + 0.0000i
a=
16 -40 50 20 6
>> roots(a)
ans =
1.4348 + 1.4266i
1.4348 - 1.4266i
-0.1848 + 0.2397i
-0.1848 - 0.2397i
2 3 10 0 x1 8
[ ][ ] [ ]
31410
14142
01491
0 0 2 17
x2
x4
x5
15
x 3 = 13
19
15
Sol:
2 3 1 0 0
3 1 4 1 0
1 4 1 4 2
0 1 4 9 1
0 0 2 1 7
>> b=[8;15;13;19;15]
b=
15
13
19
15
>> x=linsolve(A,b)
x=
-1.0000
2.0000
4.0000
0.0000
1.0000
Mediante solve
>>
[x1,x2,x3,x4,x5]=solve('2*x1+3*x2+x3=8','3*x1+x2+4*x3+x4=15','x1+4*x2+x3+4*x4+2*x5=13','
x2+4*x3+9*x4+x5=19','2*x3+x4+7*x5=15','x1','x2','x3','x4','x5')
x1 =
-1
x2 =
x3 =
x4 =
x5 =
x−√ 2+ x
5.-Calcule el limite lim
x →2 −3+ √ 1+ 4 x
>> syms x;
>> f=(x-sqrt(2+x))/(-3+sqrt(1+4*x))
f=
(x - (x + 2)^(1/2))/((4*x + 1)^(1/2) - 3)
>> limit(f,x,2)
ans =
9/8
1
6.-calcule las cuatro primeras derivadas de f ( x )=
x
>> syms x;
>> f=1/x
f=
1/x
>> diff(f)
ans =
-1/x^2
>> pretty(diff(f))
- --
>> pretty(diff(f,2))
--
3
>> pretty(diff(f,3))
- --
>> pretty(diff(f,4))
24
--
X
15 30
2000 u 2000u
7.-Calcule la integral x=∫ 2
du=¿ ∫ 2
du ¿
30 −8.1 u −1200 15 8.1u +1200
15
2000 u
i)Para x=∫ 2
du
30 −8.1 u −1200
>> syms u;
>> f=(2000*u)/(-8.1*u^2-1200)
f=
-(2000*u)/((81*u^2)/10 + 1200)
Integral indefinida
>> pretty(int(f,u))
/ 2 4000 \
\ 27 /
- ----------------------
81
Integral definida
>> int(f,u,30,15)
ans =
(10000*log(28300))/81 - (10000*log(10075))/81
ans =
127.5068
30
2000u
ii) para x=∫ du
15 8.1u 2+1200
>> syms u;
>> f=(2000*u)/(8.1*u^2+1200)
f=
(2000*u)/((81*u^2)/10 + 1200)
Integral indefinida
>> pretty(int(f,u))
/ 2 4000 \
\ 27 /
----------------------
81
Integral definida
>> int(f,u,15,30)
ans =
(10000*log(28300))/81 - (10000*log(10075))/81
ans =
127.5068
>> y=dsolve('Dy=1+(t-y)^2','y(2)=1')
y=
t - 1/(t - 1)
>> pretty(y)
t - -----
t-1