Method and examples
Method
 
Solve numerical differential equation using Euler method (1st order derivative)
y''=f(x,y,z(=y')) =
x0 = , y0 =
y'0 = z0 =
 xn =
Step value (h) =
Find 
Decimal Place =
Trigonometry Function Mode =
SolutionHelpInput functions
Solve numerical differential equation using Euler method (1st order derivative) calculator
1. Find y(1) for y''=-4z-4y, x_0=0, y_0=0, z_0=1, with step length 0.1
2. Find y(0.1) for y''=1+2xy-x^2z, x_0=0, y_0=1, z_0=0, with step length 0.1
3. Find y(0.2) for y''=xz^2-y^2, x_0=0, y_0=1, z_0=0, with step length 0.2


Example
1. Find y(0.1) for y''=1+2xy-x^2z, x_0=0, y_0=1, z_0=0, with step length 0.1 using Euler method (2nd order derivative)

Solution:
Given y^('')=1+2xy-x^2z, y(0)=1, y'(0)=0, h=0.1, y(0.1)=?

put (dy)/(dx)=z and differentiate w.r.t. x, we obtain (d^2y)/(dx^2)=(dz)/(dx)

We have system of equations
(dy)/(dx)=z=f(x,y,z)

(dz)/(dx)=1+2xy-x^2z=g(x,y,z)

Euler method for second order differential equation
y_1=y_0+hf(x_0,y_0,z_0)=1+(0.1)*f(0,1,0)=1+(0.1)*(0)=1+(0)=1

:.y(0.1)=1




Share this solution or page with your friends.
 
 
Copyright © 2025. All rights reserved. Terms, Privacy
 
 

.