Exercises: Euler's Method
Let $\dfrac{dy}{dx} = x+y$ with $y(0)=1$. Use Euler's method with two steps of size $h=0.5$ to approximate $y(1)$. Show the slope you use at each step.
Let $\dfrac{dy}{dx} = x+y$ with $y(0)=1$. Use Euler's method with two steps of size $h=0.5$ to approximate $y(1)$. Show the slope you use at each step.
Let $\dfrac{dy}{dx} = 2y$ with $y(0)=3$. Use Euler's method with two steps of size $h=0.25$ to approximate $y(0.5)$.
Let $\dfrac{dy}{dx} = 2y$ with $y(0)=3$. Use Euler's method with two steps of size $h=0.25$ to approximate $y(0.5)$.
Let $\dfrac{dy}{dx}=xy$ with $y(1)=2$. (a) Write the equation of the tangent line to the solution at $x=1$ and use it to approximate $y(1.2)$. (b) Use one step of…
Let $\dfrac{dy}{dx}=xy$ with $y(1)=2$.
(a) Write the equation of the tangent line to the solution at $x=1$ and use it to approximate $y(1.2)$.
(b) Use one step of Euler's method with $h=0.2$ to approximate $y(1.2)$. What do you notice about the two results?
Let $\dfrac{dy}{dx}=y-x$ with $y(0)=2$. Copy and complete the table for Euler's method with $h=0.5$ and three steps. Use the columns $x_n$, $y_n$, $\dfrac{dy}{dx}$ at…
Let $\dfrac{dy}{dx}=y-x$ with $y(0)=2$. Copy and complete the table for Euler's method with $h=0.5$ and three steps. Use the columns $x_n$, $y_n$, $\dfrac{dy}{dx}$ at $(x_n,y_n)$, and $y_{n+1}$.
(Calculator active) Let $\dfrac{dy}{dx}=2x-y$ with $y(0)=1$. (a) Use Euler's method with four steps of size $h=0.25$ to approximate $y(1)$. Organize your work in a…
(Calculator active) Let $\dfrac{dy}{dx}=2x-y$ with $y(0)=1$.
(a) Use Euler's method with four steps of size $h=0.25$ to approximate $y(1)$. Organize your work in a table.
(b) The exact solution is $y = 2x-2+3e^{-x}$. Find the exact value of $y(1)$ and the error of your approximation to three decimal places.
Let $\dfrac{dy}{dx}=y^2$ with $y(0)=1$. (a) Use Euler's method with two steps of size $h=0.25$ to approximate $y(0.5)$. (b) Find $\dfrac{d^2y}{dx^2}$ in terms of $y$ and…
Let $\dfrac{dy}{dx}=y^2$ with $y(0)=1$.
(a) Use Euler's method with two steps of size $h=0.25$ to approximate $y(0.5)$.
(b) Find $\dfrac{d^2y}{dx^2}$ in terms of $y$ and explain why your approximation is an underestimate. (The exact value is $y(0.5)=2$; you do not need it for the explanation.)
A function satisfies $\dfrac{dy}{dx} = ky$ for a constant $k$, with $y(0)=2$. One step of Euler's method with $h=0.5$ gives the approximation $3.5$ for $y(0.5)$. (a)…
A function satisfies $\dfrac{dy}{dx} = ky$ for a constant $k$, with $y(0)=2$. One step of Euler's method with $h=0.5$ gives the approximation $3.5$ for $y(0.5)$.
(a) Find $k$.
(b) Use a second step of Euler's method, with the same step size, to approximate $y(1)$.
(c) The exact solution is $y=2e^{kx}$. Explain whether your approximation is an underestimate or overestimate, and why.
Let $\dfrac{dy}{dx}=x-y$ with $y(0)=1$. (a) Use Euler's method with two steps of size $h=0.5$ to approximate $y(1)$. (b) The exact solution is $y=x-1+2e^{-x}$. Find…
Let $\dfrac{dy}{dx}=x-y$ with $y(0)=1$.
(a) Use Euler's method with two steps of size $h=0.5$ to approximate $y(1)$.
(b) The exact solution is $y=x-1+2e^{-x}$. Find $\dfrac{d^2y}{dx^2}$ for this solution and use its sign to decide whether Euler's method gives an underestimate or overestimate of $y(1)$.
(Calculator active) A cup of coffee at $190\,^\circ\mathrm{F}$ is placed in a $70\,^\circ\mathrm{F}$ room. Its temperature $T$, in degrees Fahrenheit, after $t$ minutes…
(Calculator active) A cup of coffee at $190\,^\circ\mathrm{F}$ is placed in a $70\,^\circ\mathrm{F}$ room. Its temperature $T$, in degrees Fahrenheit, after $t$ minutes satisfies $\dfrac{dT}{dt}=-0.1(T-70)$.
(a) Use Euler's method with three steps of size $h=2$ minutes to approximate $T(6)$.
(b) Find $\dfrac{d^2T}{dt^2}$ in terms of $T$ and use it to decide whether your approximation is an underestimate or overestimate.
(c) The exact solution is $T(t)=70+120e^{-0.1t}$. Find $T(6)$ to the nearest hundredth of a degree and verify your answer to (b).
(Calculator active) Let $\dfrac{dy}{dx}=xy$ with $y(0)=1$. (a) Use Euler's method with two steps of size $h=0.5$ to approximate $y(1)$. (b) Solve the differential…
(Calculator active) Let $\dfrac{dy}{dx}=xy$ with $y(0)=1$.
(a) Use Euler's method with two steps of size $h=0.5$ to approximate $y(1)$.
(b) Solve the differential equation by separation of variables and find the exact $y(1)$.
(c) Use Euler's method with four steps of size $h=0.25$ to approximate $y(1)$. Compare the errors of (a) and (c) and explain what the comparison shows about step size.
(a) Let $\dfrac{dy}{dx}=\dfrac{y}{x}$ with $y(1)=2$. Use Euler's method with two steps of size $h=0.5$ to approximate $y(2)$. Then solve the equation exactly and explain…
(a) Let $\dfrac{dy}{dx}=\dfrac{y}{x}$ with $y(1)=2$. Use Euler's method with two steps of size $h=0.5$ to approximate $y(2)$. Then solve the equation exactly and explain why Euler's method gives the exact value here.
(b) Now let $\dfrac{dy}{dx}=\dfrac{2y}{x}$ with $y(1)=2$. Use the same step size to approximate $y(2)$. The exact solution is $y=2x^2$. Explain, using concavity, why your approximation is an underestimate.
Let $y=f(x)$ be the solution of $\dfrac{dy}{dx}=2x-y$ with $f(1)=3$. (a) Find $f''(1)$ and state whether the graph of $f$ is concave up or concave down at $x=1$. (b)…
Let $y=f(x)$ be the solution of $\dfrac{dy}{dx}=2x-y$ with $f(1)=3$.
(a) Find $f''(1)$ and state whether the graph of $f$ is concave up or concave down at $x=1$.
(b) Write the tangent line at $x=1$ and use it to approximate $f(1.2)$. Is this an underestimate or overestimate?
(c) Use Euler's method with two steps of size $h=0.1$ to approximate $f(1.2)$.
(d) Which approximation, (b) or (c), do you expect to be closer to $f(1.2)$? Justify your answer.
Can't find your problem here?
Paste it with your answer or take a photo 📷 and we'll tell you right away whether it's right and where you went wrong. Free, no sign-up.