Question

= 2. We wish to 7. Consider the differential equation y + y = 2.. with the initial conditions y(0) approximate y(1). (a) Set

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSSWER :

Consider the differential equation

y'+y=\frac{1}{2-x} with the inital conditions y(0) =2 we wish to approximate y(1).

Didfferntial equation

\frac{dy}{dx}+y=\frac{1}{2-x}

\frac{dy}{dx}=-y+\frac{1}{2-x}

y(0) = 2

y(1) = 2, L = 0.25,20 = 0

Apply Euler's Method

f(x,y)=-y+\frac{1}{(2-x)}

y_{1}=y_{0}+h(x_{0},y_{0})

\Rightarrow y_{1}=2+(0.25)\left ( -2+\frac{1}{2-0} \right )

\Rightarrow y_{1}=2+(0.25)\left ( \frac{-4+1}{2} \right )

\Rightarrow y_{1}=1.625

y_{2}=y_{1}+h(x_{1},y_{1})

\Rightarrow y_{2}=1.625+(0.25)\left ( -1.625+\frac{1}{2-0.25} \right )

\Rightarrow y_{2}=1.625+(0.25)\left ( -1.625+\frac{1}{1.75} \right )

\Rightarrow y_{2}=1.361607

y_{3}=y(0.75)+h(x_{2},y_{2})

\Rightarrow y_{3}(0.75)=1.361607+(0.25)\left ( -1.361602+\frac{1}{2-0.5} \right )

=1.1878719

\Rightarrow y_{4} (1)=y_{3}+h(x_{3},y_{3})

=1.1878719+(0.25)\left ( -1.1878719+\frac{1}{2-0.75} \right )

y_{1}=1.090903925

b)

h=0.1,0.01,0.001,0.0001

\Rightarrow y_1=y_0+h(x_0,y_0)

\Rightarrow y_1=2+(0.1)\left(-2+\frac{1}{2-0}\right)

\Rightarrow y_1=2+\frac{(0.1)(-4+1)}{2}=1.85

h=0.01

\Rightarrow y_1=y_0+h(x_0,y_0)

\Rightarrow y_1=2+(0.01)\left(-2+\frac{1}{2-0}\right)

\Rightarrow y_1=2+(0.01)(-1.5)

\Rightarrow y_1=2-0.015

\Rightarrow y_1=1.985

h=0.001

\Rightarrow y_1=y_0+h(x_0,y_0)

\Rightarrow y_1=2+(0.001)\left(-2+\frac{1}{2-0}\right)

\Rightarrow y_1=1.9985

h=0.0001

\Rightarrow y_1=y_0+h(x_0,y_0)

\Rightarrow y_1=2+(0.0001) \left(-2+\frac{1}{2-0}\right)

\Rightarrow y_1=1.99985

Add a comment
Know the answer?
Add Answer to:
= 2. We wish to 7. Consider the differential equation y' + y = 2.. with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • e differential equation y 0 + y = 1 2−x with the initial conditions y(0) =...

    e differential equation y 0 + y = 1 2−x with the initial conditions y(0) = 2. We wish to approximate y(1) using another method. please help me, thanks so much Consider the same differential equation y' +y= with the initial conditions y(0) = 2. We wish to approximate y(1) using another method. (a) Use the method of series to by hand to find the recursion relation that defines y(t) = 2*, QmI" as a solution to this differential equation....

  • Please teach me this.. Consider the same differential equation y' +y= with the initial conditions y(0)...

    Please teach me this.. Consider the same differential equation y' +y= with the initial conditions y(0) = 2. We wish to approximate y(1) using another method. (a) Use the method of series to by hand to find the recursion relation that defines y(t) = {mo anx" as a solution to this differential equation. (b) Let Pn(x) = EX=anx" be the Nth degree polynomial that approximates y(x). Use Mathematica to calculate P4(1), P16(1), P64(1), and P256 (1).

  • 7. Given the differential equation y' = 4x – 2y; y(1) = 0.5, use Euler's method,...

    7. Given the differential equation y' = 4x – 2y; y(1) = 0.5, use Euler's method, with a step size (Ax or h) of 0.25 to approximate y(2). Show appropriate steps.

  • C Consider a differential equation with the given slope field and the in y(0) = 1....

    C Consider a differential equation with the given slope field and the in y(0) = 1. 0.5 st -0.5 (a) Explain why, if you wanted to approximate y(2) using two steps of Euler's method, you would need At = 1. (b) Use a straight edge to graph two steps of Euler's method to approximate y(2). (c) This time, instead of using two steps of Euler's method, sketch on the same slope field what it would look like if you used...

  • 2. (10 points) Consider the initial value problem y = y-2. and y(1) = 0. (a)...

    2. (10 points) Consider the initial value problem y = y-2. and y(1) = 0. (a) (4 points) Use Euler's method with step size 0.5 to approximate y(2) (i.e., the value of y when x = 2)? (b) (6 points) Solve the differential equation (with the specified initial value) to get y as a function of r.

  • 3. Euler's Method (a) Use Euler's Method with step size At = 1 to approximate values...

    3. Euler's Method (a) Use Euler's Method with step size At = 1 to approximate values of y(2),3(3), 3(1) for the function y(t) that is a solution to the initial value problem y = 12 - y(1) = 3 (b) Use Euler's Method with step size At = 1/2 to approximate y(6) for the function y(t) that is a solution to the initial value problem y = 4y (3) (c) Use Euler's Method with step size At = 1 to...

  • Using MATLAB_R2017a, solve #3 using the differential equation in question #2 using Simulink, pres...

    Using MATLAB_R2017a, solve #3 using the differential equation in question #2 using Simulink, present the model and result. 2. Differential Equation (5 points) Using (i) Euler's method and (ii) modified Euler's method, both with step size h-0.01, to construct an approximate solution from F0 to F2 for xt 2, 42 with initial condition x(0)=1. Compare both results by plotting them in the same figure. 3. Simulink (5 points) Solve the above differential equation using simplink. Present the model and result....

  • Problem Thre: 125 points) Consider the following initial value problem: dy-2y+ t The y(0) -1 ea dt ical solution of the differential equation is: y(O)(2-2t+3e-2+1)y fr exoc the differential equat...

    Problem Thre: 125 points) Consider the following initial value problem: dy-2y+ t The y(0) -1 ea dt ical solution of the differential equation is: y(O)(2-2t+3e-2+1)y fr exoc the differential equation numerically over the interval 0 s i s 2.0 and a step size h At 0.5.A Apply the following Runge-Kutta methods for each of the step. (show your calculations) i. [0.0 0.5: Euler method ii. [0.5 1.0]: Heun method. ii. [1.0 1.5): Midpoint method. iv. [1.5 2.0): 4h RK method...

  • 2. Differential Equation (5 points) Using (i) Euler's method and (ii) modified Euler's method, bo...

    Please show Matlab code and Simulink screenshots 2. Differential Equation (5 points) Using (i) Euler's method and (ii) modified Euler's method, both with step size h-0.01, to construct an approximate solution from t-0 to t-2 for xt 2 , 42 with initial condition x(0)-1. Compare both results by plotting them in the same figure. 3. Simulink (5 points) Solve the above differential equation using simplink. Present the model and result. 2. Differential Equation (5 points) Using (i) Euler's method and...

  • please answer b. and c. Problem 1. Consider the differential equation given by (a) On the...

    please answer b. and c. Problem 1. Consider the differential equation given by (a) On the axes provided below, sketch a slope field for the given differential equation at the nine points indicated. locales de mor t e wold qolution to the given differential equation with the initial condition (b) Let y = f(x) be the particular solution to the given differential equation with the initial condition f(0) = 3. Use Euler's method starting at x = 0, with a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT