0% found this document useful (0 votes)
43 views1 page

Euler S Method

Euler's method is used to approximate the solution of the differential equation dy/dx = 1 - y with the initial condition y(0) = 0. By applying the method with a step size of h = 0.1, the value of y(0.2) is calculated through two iterations, resulting in y(0.2) ≈ 0.19. The process involves computing function values and updating y using the formula y_n+1 = y_n + h f(x_n, y_n).
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views1 page

Euler S Method

Euler's method is used to approximate the solution of the differential equation dy/dx = 1 - y with the initial condition y(0) = 0. By applying the method with a step size of h = 0.1, the value of y(0.2) is calculated through two iterations, resulting in y(0.2) ≈ 0.19. The process involves computing function values and updating y using the formula y_n+1 = y_n + h f(x_n, y_n).
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Euler’s method is a numerical technique used to approximate the solution of a differential

equation of the form:


dy
=f ( x , y )dxdy=f(x,y)
dx
Given:
dy
=1 − y , y ( 0 )=0 dxdy=1−y,y(0)=0
dx
We need to find y ( 0.2 )y(0.2) using Euler’s method with a step size h=0.1h=0.1.

Step 1: Euler's Method Formula


Euler's method updates the value of y y using:
y n +1= y n +h f ( x n , y n )yn+1=yn+hf(xn,yn)

where:
f ( x , y )=1 − y f(x,y)=1−y

Step 2: Compute Values


Iteration 1: Compute y ( 0.1 )y(0.1)
 Given: x 0=0 , y 0=0x0=0,y0=0, and h=0.1h=0.1
 Compute f ( x 0 , y 0 )=1 − 0=1f(x0,y0)=1−0=1
 Apply Euler's formula:
y 1= y 0 + h f ( x 0 , y 0 ) =0+ ( 0.1 ×1 )=0.1y1=y0+hf(x0,y0)=0+(0.1×1)=0.1

Iteration 2: Compute y ( 0.2 )y(0.2)


 Given: x 1=0.1 , y 1=0.1x1=0.1,y1=0.1
 Compute f ( x 1 , y 1) =1 −0.1=0.9f(x1,y1)=1−0.1=0.9
 Apply Euler's formula:
y 2= y 1 +h f ( x1 , y 1 )=0.1+ ( 0.1 × 0.9 )=0.1+0.09=0.19y2=y1+hf(x1,y1
)=0.1+(0.1×0.9)=0.1+0.09=0.19

Final Answer:
y ( 0.2 ) ≈ 0.19y(0.2)≈0.19

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy