METODO DE EULER

h =0.05
X = 1:h:2
Y = zeros(21,1)
Y(1)=2
X1 = X'
[X1,Y]
ans =
1.0000

2.0000

1.0500

2.0062

1.1000

2.0114

1.1500

2.0158

1.2000

2.0194

1.2500

2.0223

1.3000

2.0246

1.3500

2.0263

1.4000

2.0276

1.4500

2.0285

1.5000

2.0290

1.5500

2.0293

1.6000

2.0293

1.6500

2.0290

1.7000

2.0287

1.7500

2.0282

1.8000

2.0276

1.8500

2.0270

1.9000

2.0263

1.9500

2.0256

03 2.7 1.0000 2.2 1.5 1.4 1.Y) 2.3 1.9 2 .02 2.015 2.005 2 1 1.6 1.01 2.2.1 1.0249 >> plot(X1.8 1.025 2.

Sign up to vote on this title
UsefulNot useful