Given the differential equation d x d y = y e π x determine an estimate for the value of y ( 1 ) given that y ( 0 ) = 3 . Use Euler's method to determine your estimate, with a stepsize of 0 . 2 . If your estimate is equal to E , the solution to this question will be ⌊ E ⌋ .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Apply Euler method: y ( t + h ) = y ( t ) + h × y ( t ) × f ′ ( t ) ⇒ y ( 0 . 2 × k ) = y ( 0 . 2 × ( k − 1 ) ) × [ 1 + 0 . 2 × e 0 . 2 × π ] ⇒ y ( 0 . 2 ) = 3 . 6 y ( 0 . 4 ) = 3 . 6 × [ 1 + 0 . 2 ∗ e 0 . 2 × π ] = 4 . 9 4 9 6 E = y ( 1 ) = 6 7 . 7 4 7 , ⌊ E ⌋ = 6 7
Sir, I haven't worked on the Euler's method ..But won't the usual method to this Problem give the solution ? y(1) = e^[(e^pi)/pi] ??
Log in to reply
The question requires a numeric approximation of the ordinary differential equation. Euler's method is a simple explicit method for the given numerical analysis. Your 'usual' method doesn't readily provide a numerical approximation of the differential equation. Hence you need Euler's method to obtain an answer manually.
Problem Loading...
Note Loading...
Set Loading...
Here is some Mathematica Code:
Because stepsize is 0.2. The number of steps is 0 . 2 ( 1 − 0 ) = 5
Key in this:
You will get:
So, the value of y at 1 is 67.7471