Chapter 2: Problem 7
Reducing the Step Size These exercises examine graphically the effects of reducing step size on the accuracy of the numerical solution. A computer or programmable calculator is needed. (a) Use Euler's method to obtain numerical solutions on the specified time interval for step sizes \(h=0.1, h=0.05\), and \(h=0.025\). (b) Solve the problem analytically and plot the exact solution and the three numerical solutions on a single graph. Does the error appear to be getting smaller as \(h\) is reduced? \(y^{\prime}=2 y-1, \quad y(0)=1, \quad 0 \leq t \leq 0.5\)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.