Método De Runge-Kutta Y Euler
N=16
t =
1.0000
1.0625
1.1250
1.1875
1.2500
1.3125
1.3750
1.4375
1.5000
1.56251.6250
1.6875
1.7500
1.8125
1.8750
1.9375
2.0000
y =
2.0000
2.1893
2.3824
2.5789
2.7786
2.9816
3.1875
3.3962
3.60773.8217
4.0383
4.2573
4.4786
4.7021
4.9278
5.1556
5.3854
>>
* Con Metodo Runge-Kutta de orden 4
RESOLUCION DE ECUACIONES DIFERENCIALES POR MEDIORUNGE-KUTTA DE ORDEN 4
Ingrese la ecuación diferencial
1+y/x
Ingrese el primer punto x0:
1
Ingrese el segundo punto x1:
2
Ingrese la condición inicial y(x0):
2
Ingrese el númerode pasos n:
16
'it x0 y(x1)
0 1.000000 2.189414
1 1.062500 2.382506
2 1.125000 2.579072
3 1.187500 2.778929
4 1.250000 2.981913
5 1.312500 3.187874
61.375000 3.396677
7 1.437500 3.608198
8 1.500000 3.822323
9 1.562500 4.038950
10 1.625000 4.257981
11 1.687500 4.479327
12 1.750000 4.702906
13 1.812500 4.928641
141.875000 5.156459
15 1.937500 5.386294
El punto aproximado y(x1) es = 5.386294
>>
2.
Con método Euler mejorado
f =
ejemplo2_2
t =
0
0.12500.2500
0.3750
0.5000
0.6250
0.7500
0.8750
1.0000
1.1250
1.2500
1.3750
1.5000
1.6250
1.7500
1.8750
2.0000
y =
1.00001.0078
1.0317
1.0727
1.1330
1.2154
1.3243
1.4656
1.6474
1.8806
2.1804
2.5674
3.0702
3.7283
4.5975
5.7570
7.3199
>>RESOLUCION DE ECUACIONES DIFERENCIALES POR MEDIO RUNGE-KUTTA DE ORDEN 4
Ingrese la ecuación diferencial
x*y
Ingrese el primer punto x0:
0
Ingrese el segundo punto x1:
2
Ingrese...
Regístrate para leer el documento completo.