Δx

dy/dx =

Initial Pt =

Guess =

Enter your differential equation in the dy/dx box.
Adjust the h slider to match △x.
Use Euler's Method to approximate the next point of the particular solution.
Enter your point's coordinates in the Guess box.
Use the NextPt slider to check your guess!

h = 0.3 (slider from 0 to 1, step 0.01)
f(x, y) = x / (2 * y)
deriv = Textfield(f)
InitPt = (1, 1)
Startpt = Textfield(InitPt)
NextPt = 0 (slider from 0 to 20, step 1)
B1: x(InitPt)
B2: h + B1
C1: y(InitPt)
B3: 2 * B2 - B1
B4: 2 * B3 - B2
B5: 2 * B4 - B3
B6: 2 * B5 - B4
B7: 2 * B6 - B5
C2: C1 + f(B1, C1) * h
C3: C2 + f(B2, C2) * h
C4: C3 + f(B3, C3) * h
C5: C4 + f(B4, C4) * h
C6: C5 + f(B5, C5) * h
C7: C6 + f(B6, C6) * h
B8: 2 * B7 - B6
B9: 2 * B8 - B7
B10: 2 * B9 - B8
B11: 2 * B10 - B9
B12: 2 * B11 - B10
B13: 2 * B12 - B11
B14: 2 * B13 - B12
B15: 2 * B14 - B13
B16: 2 * B15 - B14
B17: 2 * B16 - B15
B18: 2 * B17 - B16
B19: 2 * B18 - B17
B20: 2 * B19 - B18
C8: C7 + f(B7, C7) * h
C9: C8 + f(B8, C8) * h
C10: C9 + f(B9, C9) * h
C11: C10 + f(B10, C10) * h
C12: C11 + f(B11, C11) * h
C13: C12 + f(B12, C12) * h
C14: C13 + f(B13, C13) * h
C15: C14 + f(B14, C14) * h
C16: C15 + f(B15, C15) * h
C17: C16 + f(B16, C16) * h
C18: C17 + f(B17, C17) * h
C19: C18 + f(B18, C18) * h
C20: C19 + f(B19, C19) * h
B: (B2, C2)
C: (B3, C3)
D: (B4, C4)
E: (B5, C5)
F: (B6, C6)
G: (B7, C7)
H: (B8, C8)
I: (B9, C9)
J: (B10, C10)
K: (B11, C11)
L: (B12, C12)
M: (B13, C13)
N: (B14, C14)
O: (B15, C15)
P: (B16, C16)
Q: (B17, C17)
R: (B18, C18)
S: (B19, C19)
T: (B20, C20)
Pts: {B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T}
G_1 = (0, 0)
Guess = Textfield(G_1)
list2: {Sequence[Element[Pts, i], i, 1, NextPt]}