Question

In: Advanced Math

Euler’s Method Let’s get our hands dirty and actually use Euler’s method to estimate the value...

Euler’s Method Let’s get our hands dirty and actually use Euler’s method to estimate the value of y(2) where y is the solution to the initial value problem

y′=y−2x             y(0) = 1

Recall that Euler’s method says: Approximate values for the solution of the initial value problem

y′=F(x, y),y(x0) =y0 with step size h, at xn=xn−1+h, are

yn=yn−1+hF(xn−1, yn−1)

Fill in the table for steps of size h= 0.2.

n xn yn=yn-1+0.2F(xn-1,Yn-1 y'=F(xn,yn)
0 0 1
1

.2

2 .4
3
4
5
6
7
8
9
10

Graph the portion of the approximate solution curve you found above. It should look like a lot of line segments. The first segment has been given on the grid below:

(c) Suppose f(x) is an exact solution to the initial value problem above. Describe, with justification, the behavior off(x) as x→∞. Hint: Graphing a slope field may be helpful for this.

Solutions

Expert Solution

h =

   0.200000000000000

---------------------------------------------------------------------------------------------------------------
n       tn          y_Euler          dy/dx     
----------------------------------------------------------------------------------------------------------------
0        0.000000         1.000000         1.000000
1        0.200000         1.200000         0.800000
2        0.400000         1.360000         0.560000
3        0.600000         1.472000         0.272000
4        0.800000         1.526400        -0.073600
5        1.000000         1.511680        -0.488320
6        1.200000         1.414016        -0.985984
7        1.400000         1.216819        -1.583181
8        1.600000         0.900183        -2.299817
9        1.800000         0.440220        -3.159780
10        2.000000        -0.191736        -4.191736

Direction filreld plot

After solve ode we get solution y(x)=2(x+1)=e^x

so x tends to infinity y is infinity


Related Solutions

1. Use the get() method to print the value of the "name" key and the value...
1. Use the get() method to print the value of the "name" key and the value of the "age" key of the stuInfo dictionary. Use the variable given below: stuInfo = {'name': 'John Smith', "gpa": 3.456, "age": 20} 2. Use the dict() function to make a copy of the NY dictionary to NewYorkState dictionary. 3. Change the "name" value from "John Smith" to "James Bond" of the stuInfo dictionary. Use the variable given below: stuInfo = {'name': 'John Smith', "gpa":...
Use the following data to determine how many units should be produced Dirty Hands, Inc. sells...
Use the following data to determine how many units should be produced Dirty Hands, Inc. sells soap. The sales budget is 800,000 units. Management estimates that there will be 100,000 units in beginning inventory and 125,000 units in ending inventory. Based on the production budget in problem above what would be the budgeted cost of direct material if it takes 7 oz of material to make a bar of soap and each oz costs $0.15.
Compute, by Euler’s method, an approximate solution to the following initial value problem for h =...
Compute, by Euler’s method, an approximate solution to the following initial value problem for h = 1/8 : y’ = t − y , y(0) = 2 ; y(t) = 3e^(−t) + t − 1 . Find the maximum error over [0, 1] interval.
Use ten steps in Euler’s method to determine an approximate solution for the differential equation y′...
Use ten steps in Euler’s method to determine an approximate solution for the differential equation y′ = x3, y(0) = 0, using a step size Δx = 0.1.
Use 4 steps of the Modified Euler’s method to solve the following differential equation to t...
Use 4 steps of the Modified Euler’s method to solve the following differential equation to t = 2.6, given that y(0) = 1.1. In your working section, you must provide full working for the first two steps. To make calculations easier, round the calculations at each step to four decimal places, and provide your final answer with four decimal places. dy/ dt = 1.4sin(ty)
Exercise (a) Use Euler's method with each of the following step sizes to estimate the value...
Exercise (a) Use Euler's method with each of the following step sizes to estimate the value of y(1.6), where y is the solution of the initial-value problem y' = y, y(0) = 6. (i)    h = 1.6 (ii)    h = 0.8 (iii)    h = 0.4 Exercise (b) We know that the exact solution of the initial-value problem in part (a) is y = 6ex. Draw, as accurately as you can, the graph of y = 6ex, 0 ≤ x ≤ 1.6, together with...
Before we hit that reboot button on our performance management programmes, let’s get absolutely clear on...
Before we hit that reboot button on our performance management programmes, let’s get absolutely clear on what performance management actually is… and why we should be doing it. As diverse as organisations are (and as diverse as their PM solutions should be) it is helpful to anchor our thinking with a basic framework. In my experience, every high performing organisation is ultimately using its performance management programme to: 1. Develop people’s skills and capabilities 2. Reward all employees equitably 3....
Use Euler's method with each of the following step sizes to estimate the value of y(0.8),...
Use Euler's method with each of the following step sizes to estimate the value of y(0.8), where y is the solution of the initial-value problem: y' = y, y(0) = 5. (i)    h = 0.8 y(0.8) = 9 (ii) h = 0.4 y(0.8) = 9.8 (iii)     h = 0.2 y(0.8) = ? The error in Euler's method is the difference between the exact value and the approximate value. Find the errors made in part (a) in using Euler's method to estimate...
Euler’s method Consider the initial-value problem y′ = −2y, y(0) = 1. The analytic solution is...
Euler’s method Consider the initial-value problem y′ = −2y, y(0) = 1. The analytic solution is y(x) = e−2x . (a) Approximate y(0.1) using one step of Euler’s method. (b) Find a bound for the local truncation error in y1 . (c) Compare the error in y1 with your error bound. (d) Approximate y(0.1) using two steps of Euler’s method. (e) Verify that the global truncation error for Euler’s method is O(h) by comparing the errors in parts (a) and...
Using the three-step method, compute the dirty price (to 3 decimal places) of a $100 face-value...
Using the three-step method, compute the dirty price (to 3 decimal places) of a $100 face-value bond maturing on 15-Feb-29, paying a 5%pa semi-annual coupons with a yield to maturity of 3%pa for settlement on 05-May-20. Set out the intermediate calculations for each of the three steps. (Note there are 102 days between 05-May-20 and 15-Aug-2020. There are 182 days between 15-Feb-2020 and 15-Aug-2020)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT