0% found this document useful (0 votes)
211 views2 pages

Euler's &modified Euler's Method

The document discusses numerical solutions for ordinary differential equations using Euler's method and Modified Euler's method. It provides 10 problems to solve using the two methods, each involving finding the solution to a differential equation over a specified interval or at a given point using a given step size. It also instructs to write computer code to implement the methods and compare the output to calculated results.

Uploaded by

Deepak Sharma
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
211 views2 pages

Euler's &modified Euler's Method

The document discusses numerical solutions for ordinary differential equations using Euler's method and Modified Euler's method. It provides 10 problems to solve using the two methods, each involving finding the solution to a differential equation over a specified interval or at a given point using a given step size. It also instructs to write computer code to implement the methods and compare the output to calculated results.

Uploaded by

Deepak Sharma
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computational Techniques and Programming-II (PH-518)

Assignment No. 2(C) Numerical solution of ordinary differential equations using Eulers & Modified Eulers Method
(Submission date:09-04-2010) Solve following problems using Eulers &Modified Eulers Method (corrected up to 4 decimal places). Also write a computer code for these formulae and compare the programs output with calculated result. 1) Given dy = x+y with y(0) = 0.Find the solution using (a) Eulers Method (b) dx Modified Eulers Method at y(1.4), taking h = 0.2. [(a) y(1.4) = 1.1832, (b) y(1.4) = 1.6743] dy = xy with y(1) = 5. Find the solution in [1,1.5] taking h = 0.1 using (a) dx Eulers Method (b) Modified Eulers Method. [(a) y(1.5) = 8.8082, (b) y(1.5) = 9.3639] dy = (1-x) y 2 with y(0) = 1.5, find solution in interval [0.1,0.3] using step size dx h = 0.1 by (a) Eulers Method (b) Modified Eulers Method. [(a) y(0.3) = 2.3105, (b) y(0.3) = 2.4343]

2) Given

3) Given

4) Using (a) Eulers Method (b) Modified Eulers Method, find approximate value of y dy when x = 0.6, given that = 1-2xy with initial condition y(0) = 0. dx [(a) y(0.6) =0.4986, (b) y(0.6) = 0.4739] 5) Using (a) Eulers Method (b) Modified Eulers Method, find approximate value of y dy corresponding to x = 0.3, given that = x+y with y(0) = 1, taking h = 0.1. dx [(a) y(1) = 1.3620, (b) y(1) = 1.4004] dy = x+y+xy with y(0) = 1, find the solution using (a) Eulers Method (b) dx Modified Eulers Method at y(0.1), taking h= 0.025. [(a) y(0.1) = 1.1117, (b) y(0.1) = 1.1159] 6) Given

7) Given

dy = x+y with y(0) = 0.Find the solution in the range 0 x 0.1 in steps of 0.05 dx using (a) Eulers Method (b) Modified Eulers Method. [(a) y(0.1) = 1.1050, (b) y(1.0) = 1.1104]

8) Using (a) Eulers Method (b) Modified Eulers Method, find approximate value of y at x dy = 0.2 given = -x y 2 with y(0) = 2 in steps of 0.1. dx [(a) y(0.2) = 1.9600, (b) y(0.2) = 1.9238] 9) Given dy = x+ y 2 with y(0) = 1, find an approximate value of y at x = 0.5 using (a) dx Eulers Method & (b) Modified Eulers Method, taking h = 0.25. [(a) y(0.5) = 1.7031, (b) y(0.5) = 2.5615] dy = xy taking h = 0.1 by (a) dx

10) Find approximate value of y in [1,1.3] with y(1) = 5 using

Eulers Method & (b) Modified Eulers Method. [(a) y(1.3) = 6.8376, (b) y(1.3) = 7.0688]

You might also like