Question: Let E(h) = hM/2 + /h. a. For the initial-value problem y' = y + 1, 0 t 1, y(0) = 0, Compute
a. For the initial-value problem
y' = −y + 1, 0 ≤ t ≤ 1, y(0) = 0,
Compute the value of h to minimize E(h). Assume δ = 5 × 10−(n+1) if you will be using n-digit arithmetic in part (c).
b. For the optimal h computed in part (a), use Eq. (5.13) to compute the minimal error obtainable.
c. Compare the actual error obtained using h = 0.1 and h = 0.01 to the minimal error in part (b).
Can you explain the results?
Step by Step Solution
3.31 Rating (169 Votes )
There are 3 Steps involved in it
a h 10 n2 b The minimal error i... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
731-M-N-A-N-L-A (501).docx
120 KBs Word File
