Chapter 8: Problem 22
Consider the initial value problem $$ y^{\prime}=\cos 5 \pi t, \quad y(0)=1 $$ (a) Determine the solution \(y=\phi(t)\) and draw a graph of \(y=\phi(t)\) for \(0 \leq t \leq 1 .\) (b) Determine approximate values of \(\phi(t)\) at \(t=0.2,0.4,\) and 0.6 using the Euler method with \(h=0.2 .\) Draw a broken-line graph for the approximate solution and compare it with the graph of the exact solution. (c) Repeat the computation of part (b) for \(0 \leq t \leq 0.4,\) but take \(h=0.1 .\) (d) Show by computing the local truncation error that neither of these step sizes is sufftciently small. Determine a value of \(h\) to ensure that the local truncation error is less than 0.05 throughout the interval \(0 \leq t \leq 1 .\) That such a small value of \(h\) is required results from the fact max \(\left|\phi^{\prime \prime}(t)\right|\) is large.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.