Sie sind auf Seite 1von 27

MÉTODO DE PUNTO FIJO

1. f(x)=x^10-1
𝑃𝑢𝑛𝑡𝑜 𝑓𝑖𝑗𝑜:
>> 𝑔 = 𝑖𝑛𝑙𝑖𝑛𝑒(′1/𝑥^9′);
𝑒𝑧𝑝𝑙𝑜𝑡(′𝑥′, [0,1.3]), 𝑔𝑟𝑖𝑑 𝑜𝑛, ℎ𝑜𝑙𝑑 𝑜𝑛
𝑒𝑧𝑝𝑙𝑜𝑡(𝑔, [0,1.3])
𝑥 = 1;
𝑥 = 𝑔(𝑥)
𝑥 = 1
>> 𝑥 = 𝑔(𝑥)
𝑥 = 1
>> 𝑥 = 𝑔(𝑥)
𝑥 = 1

2. f(x)=-0.875*x^2+1.75*x+2.675 en [2.9,3.0142]
Punto fijo:
𝑔 = 𝑖𝑛𝑙𝑖𝑛𝑒(′(0.875 ∗ 𝑥^2 − 2.675)/1.75 ′);
𝑒𝑧𝑝𝑙𝑜𝑡(′𝑥′, [2.9,3.1]), 𝑔𝑟𝑖𝑑 𝑜𝑛, ℎ𝑜𝑙𝑑 𝑜𝑛
𝑒𝑧𝑝𝑙𝑜𝑡(𝑔, [2.9,3.1])
𝑥 = 3.01;
𝑥 = 𝑔(𝑥)
𝑥 = 3.001478571428571

3. f(x)=-5-10*x+x^3
Punto fijo:
𝑔 = 𝑖𝑛𝑙𝑖𝑛𝑒(′(−5 + 𝑥^3)/10 ′);
𝑒𝑧𝑝𝑙𝑜𝑡(′𝑥′, [−4,4]), 𝑔𝑟𝑖𝑑 𝑜𝑛, ℎ𝑜𝑙𝑑 𝑜𝑛
𝑒𝑧𝑝𝑙𝑜𝑡(𝑔, [−4,4])
>> 𝑥 = −3;
>> 𝑥 = 𝑔(𝑥)
𝑥 = −3.200000000000000
>> 𝑥 = 𝑔(𝑥)
𝑥 = −3.776800000000001
>> 𝑥 = 𝑔(𝑥)
𝑥 = −5.887309944883202
>> 𝑥 = −0.5;
>> 𝑥 = 𝑔(𝑥)
𝑥 =
−0.512500000000000
>> 𝑥 = 𝑔(𝑥)
𝑥 = −0.513461132812500
>> 𝑥 = 𝑔(𝑥)
𝑥 = −0.513537009193976

4. f(x)=log(x)-0.5 en [1,2]
Punto fijo:
𝑔 = 𝑖𝑛𝑙𝑖𝑛𝑒(′𝑒𝑥𝑝(0.5) ′);
𝑒𝑧𝑝𝑙𝑜𝑡(′𝑥′, [1,2]), 𝑔𝑟𝑖𝑑 𝑜𝑛, ℎ𝑜𝑙𝑑 𝑜𝑛
𝑒𝑧𝑝𝑙𝑜𝑡(𝑔, [1,2])
>> 𝑥 = 1.65;
>> 𝑥 = 𝑔(𝑥)
𝑥 = 1.648721270700128
>> 𝑥 = 𝑔(𝑥)
𝑥 = 1.648721270700128
>> 𝑥 = 𝑔(𝑥)
𝑥 = 1.648721270700128
>> 𝑥 = 𝑔(𝑥)
𝑥 = 1.648721270700128

5. f(x)=x^3-100
Punto fijo:
g=inline('100/x^2 ');
ezplot('x',[-4,6]),grid on, hold on
ezplot(g,[-4,6])
>> x=4.62;
>> x=g(x)
x= 4.6851
>> x=g(x)
x= 4.5558
>> x=g(x)
x = 4.8180
>> x=g(x)
x= 4.3080

6. f(x)=exp(-x)*sin(10*x) en [0,2.5]
Punto fijo:
g=inline('asin(0)/10 ');
ezplot('x',[0,2.5]),grid on, hold on
ezplot(g,[0,2.5])
>> x=0;
>> x=g(x)
x= 0
7. f(x)=x*exp(x)-pi
Punto fijo:
g=inline('pi/exp(x) ');
ezplot('x',[0,10]),grid on, hold on
ezplot(g,[0,10])
>> x=1.17;
>> x=g(x)
x= 0.9750
>> x=g(x)
x = 1.1849
>> x=g(x)
x= 0.9606
>> x=g(x)
x= 1.2022
>> x=g(x)
x= 0.9442
>> x=g(x)
x= 1.2221

8. f(x)=(1-0.6*x)/x en [1.5,2]
Punto fijo:
g=inline('1/0.6 ');
ezplot('x',[1.5,2]),grid on, hold on
ezplot(g,[1.5,2])
>> x=1.665;
>> x=g(x)
x= 1.6667
>> x=g(x)
x= 1.6667
>> x=g(x)
x= 1.6667
9. f(x)=exp(-x)-x en [0,1]
Punto fijo:
g=inline('exp(-x) ');
ezplot('x',[0,1]),grid on, hold on
ezplot(g,[0,1])
>> x=0.571;
>> x=g(x)
x= 0.5650
>> x=g(x)
x= 0.5684
>> x=g(x)
x= 0.5664
>> x=g(x)
x= 0.5675
>> x=g(x)
x= 0.5669
>> x=g(x)
x= 0.5673
>> x=g(x)
x= 0.5671
>> x=g(x)
x= 0.5672

10. f(x)=0.5*x-sin(x)
Punto fijo:
g=inline('sin(x)/0.5 ');
ezplot('x',[-2,2]),grid on, hold on
ezplot(g,[-2,2])
>> x=-1.86;
>> x=g(x)
x = -1.9169

>> x=g(x)
x = -1.8814
>> x=g(x)
x = -1.9043
>> x=g(x)
x = -1.8898
>> x=g(x)
x = -1.8991
>> x=g(x)
x = -1.8932
>> x=g(x)
x = -1.8970
>> x=g(x)
x = -1.8946
>> x=g(x)
x = -1.8961
>> x=g(x)
x = -1.8951
>> x=g(x)
x = -1.8957
>> x=g(x)
x = -1.8953
>> x=g(x)
x = -1.8956
>> x=g(x)
x = -1.8954
>> x=g(x)
x = -1.8955
>> x=0;
>> x=g(x
x= 0
>> x=g(x)
x= 0
>> x=1.87;
>> x=g(x)
x = 1.9111
>> x=g(x)
x= 1.8853
>> x=g(x)
x = 1.9019
>> x=g(x)
x= 1.8914
>> x=g(x)
x= 1.8981
>> x=g(x)
x = 1.8938
>> x=g(x)
x= 1.8966
>> x=g(x)
x= 1.8948
>> x=g(x)
x= 1.8959
>> x=g(x)
x= 1.8952
>> x=g(x)
x= 1.8957
>> x=g(x)
x= 1.8954
>> x=g(x)
x= 1.8956
>> x=g(x)
x= 1.8954
>> x=g(x)
x= 1.8955

11. f(x)=x^3-6*x^2+11*x-6 en [2.5,3.6]


Punto fijo:
>> g=inline('-(x^3-6*x^2-6)/11 ');
ezplot('x',[2.5,3.6]),grid on, hold on
ezplot(g,[2.5,3.6])
>> x=3;
>> x=g(x)
x= 3
>> x=g(x)
x= 3
12. f(x)=x^2*exp(x)-1
Punto fijo:
g=inline('sqrt(1/exp(x)) ');
ezplot('x',[0.5,1]),grid on, hold on
ezplot(g,[0.5,1])
>> x=0.71;
>> x=g(x)
x= 0.7012
>> x=g(x)
x= 0.7043
>> x=g(x)
x= 0.7032
>> x=g(x)
x= 0.7036
>> x=g(x)
x= 0.7034
>> x=g(x)
x = 0.7035
>> x=g(x)
x = 0.7035

13. f(x)=4*exp(-x)*cos(x)-1
Punto fijo:
g=inline('-log(1/(4*cos(x))) ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
x=0.901;
x=g(x)
x= 0.9096
>> x=g(x)
x= 0.8986
>> x=g(x)
x= 0.9126
14. f(x)=x^3-2*x-1 en [1,2]
Punto fijo:
g=inline('(1-x^3)/2 ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=0.43;
>> x=g(x)
x= 0.4602
>> x=g(x)

x= 0.4513
>> x=g(x)
x= 0.4541
>> x=g(x)
x= 0.4532
>> x=g(x)
x= 0.4535
>> x=g(x)
x= 0.4534
>> x=g(x)
x= 0.4534

15. f(x)=2*exp(-x)-sin(x)
Punto fijo:
g=inline('asin(2*exp(-x)) ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=0.93;
>> x=g(x)
x= 0.9094
>> x=g(x)
x= 0.9366
>> x=g(x)
x= 0.9009
>> x=g(x)
x= 0.9483
>> x=g(x)
x= 0.8864
>> x=g(x)
x= 0.9689

16. f(x)=x^2-exp(-x)
Punto fijo:
g=inline('sqrt(exp(-x)) ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=0.71;
>> x=g(x)
x= 0.7012
>> x=g(x)
x= 0.7043
>> x=g(x)
x= 0.7032
>> x=g(x)
x= 0.7036
>> x=g(x)
x = 0.7034
>> x=g(x)
x= 0.7035

17. f(x)=x^2+sin(x)
Punto fijo:
g=inline('sqrt(-sin(x)) ');
ezplot('x',[0,1]),grid on, hold on
ezplot(g,[0,1])
>> x=0.098;
>> x=g(x)
x = 0.0000 + 0.3128i
>> x=g(x)
x = 0.3987 - 0.3987i

18. f(x)=log(x^2+1)-exp(x/2)*cos(pi*x) en [0.1,0.5]


Punto fijo:
g=inline('-1+sqrt(exp(exp(x/2)*cos(pi*x))) ');
ezplot('x',[0.1,0.5]),grid on, hold on
ezplot(g,[0.1,0.5])
>> x=0.34;
>> x=g(x)
x= 0.3304
>> x=g(x)
x= 0.3492
19. f(x)=7*sin(x)*exp(-x)-1
Punto fijo:
g=inline('log(1/(7*sin(x))) ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=0.15;
>> x=g(x)
x = -0.0450
>> x=g(x)
x = 1.1547 + 3.1416i
20. f(x)=x*log10(x)-10
Punto fijo:
g=inline('10/log10(x) ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> g=inline('10/log10(x) ');
ezplot('x',[-4,4]),grid on, hold on
ezplot(g,[-4,4])
>> x=0;
>> x=g(x)
x= 0
21. f(x)=exp(x)+x^3+2*x^2+10*x-20
Punto fijo:
g=inline('-(exp(x)+x^3+2*x^2-20)/10 ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=1.2;
>> x=g(x)
x= 1.2072
>> x=g(x)
x= 1.1982
>> x=g(x)
x= 1.2094
22. f(x)=2*x-1/3
Punto fijo:
g=inline('1/6 ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> g=inline('1/6 ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=0.18;
>> x=g(x)
x = 0.1667
23. f(x)=tan(x)/x^2
Punto fijo:
g=inline('atan(0) ');
ezplot('x',[0,2]),grid on, hold on
ezplot(g,[0,2])
>> x=0;
>> x=g(x)
x= 0
24. f(x)=(1-x)*sin(x)-1
Punto fijo:
g=inline('-(1/sin(x))+1 ');
ezplot('x',[3,4]),grid on, hold on
ezplot(g,[3,4])
>> x=3.55;
>> x=g(x)
x = 3.5180
>> x=g(x)
x= 3.7208
>> x=g(x)
x= 2.8269
>> x=g(x)
x = -2.2309
25. f(x)=x^2*log(x)-2*x-1 en [2.5,2.6]
Punto fijo:
>> g=inline('(x^2*log(x)-1)/2 ');
ezplot('x',[2.5,2.6]),grid on, hold on
ezplot(g,[2.5,2.6])
>> x=2.553;
>> x=g(x)
x= 2.5545
>> x=g(x)
x= 2.5599
>> x=g(x)
x= 2.5797
>> x=g(x)
x= 2.6534
>> x=g(x)
x= 2.9354
>> x=g(x)
x= 4.1393

Das könnte Ihnen auch gefallen