Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 2

metodo de euler

dy/dx=f (x,y)
x y f(x,y)
0 2 -4 x0: 0
yn+1=yn+h*f(x,y)
0.1 1.6 -2.8 y0: 2
0.2 1.6 -2.4 xf: 0.5
dy/dx=4x-2y
0.3 1.6 -2 h: 0.1
0.4 1.6 -1.6
0.5 1.6 -1.2

metodo runge kutta


x k1 k2 k3 k4
0
0.1 -0.4 -0.34 -0.346 -0.2908
0.2 -3.141067 0.02 -0.296107 -0.214885
0.3 -1.53038 0 0 0
0.4 -0.620254 0 0 0
0.5 -0.013502 0 0 0
=

y
2
1.770533
1.16519
0.910127
0.806751
0.804501

You might also like