Chapter 4: Problem 5
In each exercise, assume that a numerical solution is desired on the interval \(t_{0} \leq t \leq t_{0}+T\), using a uniform step size \(h\). (a) As in equation (8), write the Euler's method algorithm in explicit form for the given initial value problem. Specify the starting values \(t_{0}\) and \(\mathbf{y}_{0}\). (b) Give a formula for the \(k\) th \(t\)-value, \(t_{k}\). What is the range of the index \(k\) if we choose \(h=0.01\) ? (c) Use a calculator to carry out two steps of Euler's method, finding \(\mathbf{y}_{1}\) and \(\mathbf{y}_{2}\). Use a step size of \(h=0.01\) for the given initial value problem. Hand calculations such as these are used to check the coding of a numerical algorithm.\(\mathbf{y}^{\prime}=\left[\begin{array}{cc}\frac{1}{t} & \sin t \\\ 1-t & 1\end{array}\right] \mathbf{y}+\left[\begin{array}{l}0 \\\ t^{2}\end{array}\right], \quad \mathbf{y}(1)=\left[\begin{array}{l}0 \\\ 0\end{array}\right], \quad 1 \leq t \leq 6\)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.