Chapter 2: Q27E (page 47)
Question: Consider the initial value problem .
(a)Using definite integration, show that the integrating factor for the differential equation can be written as and that the solution to the initial value problem is
(b)Obtain an approximation to the solution at x= 1 by using numerical integration (such as Simpson鈥檚 rule, Appendix C) in a nested loop to estimate values ofand, thereby, the value of.
[Hint:First, use Simpson鈥檚 rule to approximateat x= 0.1, 0.2, . . . , 1. Then use these values and apply Simpson鈥檚 rule again to approximate]
(c)Use Euler鈥檚 method (Section 1.4) to approximate the solution at x= 1, with step sizes h= 0.1 and 0.05. [A direct comparison of the merits of the two numerical schemes in parts (b) and (c) is very complicated, since it should take into account the number of functional evaluations in each algorithm as well as the inherent accuracies.]
Short Answer
- 0.9960
- 0.9486
- 0.9729