Professional Documents
Culture Documents
Tarea Grupal de Metodos Numericos
Tarea Grupal de Metodos Numericos
ELECTRONICA
%serie de Taylor
syms x
f=1/(1-x)
f=
-1/(x - 1)
>> pretty(taylor(f,x,0.5,"order",12))
/ 1 \2 / 1 \3 / 1 \4 / 1 \5 / 1 \6 / 1 \7 / 1 \8
\ 2/ \ 2/ \ 2/ \ 2/ \ 2/ \ 2/ \ 2/
/ 1 \9 / 1 \10 / 1 \11
\ 2/ \ 2/ \ 2/
%serie de Taylor
syms x
f=1/(1-x);
pretty(taylor(f,x,0.5,"order",12))
ESCUELA PROFESIONAL DE ING.ELECTRONICA
/ 1 \2 / 1 \3 / 1 \4 / 1 \5 / 1 \6 / 1 \7 / 1 \8
\ 2/ \ 2/ \ 2/ \ 2/ \ 2/ \ 2/ \ 2/
/ 1 \9 / 1 \10 / 1 \11
\ 2/ \ 2/ \ 2/
pretty(taylor(f,x,0,"order",12))
11 10 9 8 7 6 5 4 3 2
x +x +x +x +x +x +x +x +x +x +x+1
>> syms x
x=-0.9:0.1:0.9;
f=1./(1-x);
plot(x,f)
ESCUELA PROFESIONAL DE ING.ELECTRONICA
EJERCICIO#2
>> syms x
f=log(1+x);
pretty(taylor(f,x,0.5,"order",12))
/ 1 \2 / 1 \3 / 1 \4 / 1 \5 / 1 \6 / 1 \7
2 | x - - | 8 | x - - | 4 | x - - | 32 | x - - | 32 | x - - | 128 | x - - |
2x /3\ \ 2/ \ 2/ \ 2/ \ 2/ \ 2/ \ 2/
/ 1 \8 / 1 \9 / 1 \10 / 1 \11
\ 2/ \ 2/ \ 2/ \ 2/ 1
>> %MACLAURIN
pretty(taylor(f,x,0,"order",12))
11 10 9 8 7 6 5 4 3 2
x x x x x x x x x x
--- - --- + -- - -- + -- - -- + -- - -- + -- - -- + x
11 10 9 8 7 6 5 4 3 2
ESCUELA PROFESIONAL DE ING.ELECTRONICA
>> syms x
x=-0.9:0.1:1
f=log(1+x);
plot(x,f)
x=
Columns 1 through 12
-0.9000 -0.8000 -0.7000 -0.6000 -0.5000 -0.4000 -0.3000 -0.2000 -0.1000 0 0.1000
0.2000
Columns 13 through 20
>> plot(x,f)