29–32. {Use of Tech} Errors in Euler’s method Consider the following initial value problems.
b. Using the exact solution given, compute the errors in the Euler approximations at t=0.2 and t=0.4.
y′(t) = −y, y(0) = 1; y(t) = e⁻ᵗ
29–32. {Use of Tech} Errors in Euler’s method Consider the following initial value problems.
b. Using the exact solution given, compute the errors in the Euler approximations at t=0.2 and t=0.4.
y′(t) = −y, y(0) = 1; y(t) = e⁻ᵗ
33–36. {Use of Tech} Computing Euler approximations Use a calculator or computer program to carry out the following steps.
c. Repeating parts (a) and (b) using half the time step used in those calculations, again find an approximation to y(T).
y′(t) = 6 - 2y, y(0) = -1; Δt = 0.2, T = 3; y(t) = 3 - 4e⁻²ᵗ
Use Euler’s method with dx = 0.2 to estimate y(2) if y′ = y/x and y(1) = 2. What is the exact value of y(2)?
In Exercises 39–42, use Euler’s method with the specified step size to estimate the value of the solution at the given point x*. Find the value of the exact solution at x*.
y′ = √x/y, y > 0, y(0) = 1, dx = 0.1, x* = 1
25. First-order chemical reactions In some chemical reactions, the rate at which the amount of a substance changes with time is proportional to the amount present. For the change of δ-gluconolactone into gluconic acid, for example,
dy/dt = -0.6y
when t is measured in hours. If there are 100 grams of δ-gluconolactone present when t=0, how many grams will be left after the first hour?
In Exercises 39–42, use Euler’s method with the specified step size to estimate the value of the solution at the given point x*. Find the value of the exact solution at x*.
y' = 2xexp(x²) , y(0) = 2, dx = 0.1, x* = 1
33–36. {Use of Tech} Computing Euler approximations Use a calculator or computer program to carry out the following steps.
b. Using the exact solution (also given), find the error in the approximation to y(T) (only at the right endpoint of the time interval).
y′(t) = t/y, y(0) = 4; Δt = 0.1, T = 2; y(t) = √(t² + 16)
Euler’s metho d Consider the initial value problem y′(t)=1/2y,y(0)=1.
a. Use Euler’s method with Δt=0.1 to compute approximations to y(0.1) and y(0.2).
Using Euler’s Method
In Exercises 15–20, use Euler’s method to calculate the first three approximations to the given initial value problem for the specified increment size. Calculate the exact solution and investigate the accuracy of your approximations. Round your results to four decimal places.
y' = x(1-y), y(1) = 0, dx = 0.2
25–28. Two steps of Euler’s method For the following initial value problems, compute the first two approximations u1 and u2 given by Euler’s method using the given time step.
y′(t) = 2−y, y(0) = 1; Δt = 0.1
33–36. {Use of Tech} Computing Euler approximations Use a calculator or computer program to carry out the following steps.
b. Using the exact solution (also given), find the error in the approximation to y(T) (only at the right endpoint of the time interval).
y′(t) = -2y, y(0) = 1; Δt = 0.2, T = 2; y(t) = e⁻²ᵗ
29–32. {Use of Tech} Errors in Euler’s method Consider the following initial value problems.
a. Find the approximations to y(0.2) and y(0.4) using Euler’s method with time steps of Δt = 0.2, 0.1, 0.05, and 0.025.
y′(t) = y/2, y(0) = 2; y(t) = 2eᵗᐟ²
33–36. {Use of Tech} Computing Euler approximations Use a calculator or computer program to carry out the following steps.
a. Approximate the value of y(T) using Euler’s method with the given time step on the interval [0,T].
y′(t) = t/y, y(0) = 4; Δt = 0.1, T = 2; y(t) = √(t² + 16)
Use Euler’s method with dx = 0.2 to estimate y(1) if y′ = y and y(0) = 1. What is the exact value of y(1)?
In Exercises 39–42, use Euler’s method with the specified step size to estimate the value of the solution at the given point x*. Find the value of the exact solution at x*.
y' = 2y²(x-1), y(2) = -1/2, dx = 0.1, x* = 3