Chapter 9: Problem 7
Use Newton's method to solve a discretized version of the differential equation $$ y^{\prime \prime}=-\left(y^{\prime}\right)^{2}-y+\ln x, \quad 1 \leq x \leq 2, y(1)=0, y(2)=\ln 2 $$ The discretization on a uniform mesh, with the notation of Example \(9.3\), can be $$ \frac{y_{i+1}-2 y_{i}+y_{i-1}}{h^{2}}+\left(\frac{y_{i+1}-y_{i-1}}{2 h}\right)^{2}+y_{i}=\ln (i h), \quad i=1,2, \ldots, n $$ The actual solution of this problem is \(y(x)=\ln x .\) Compare your numerical results to the solution \(y(x)\) for \(n=8,16,32\), and 64 . Make observations regarding the convergence behavior of Newton's method in terms of the iterations and the mesh size, as well as the solution error.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.