Chapter 10: Problem 2
Some modeling considerations have mandated a search for a function $$ u(x)=\gamma_{0} e^{\gamma_{1} x+\gamma_{2} x^{2}} $$ where the unknown coefficients \(\gamma_{1}\) and \(\gamma_{2}\) are expected to be nonpositive. Given are data pairs to be interpolated, \(\left(x_{0}, z_{0}\right),\left(x_{1}, z_{1}\right)\), and \(\left(x_{2}, z_{2}\right)\), where \(z_{i}>0, i=0,1,2 .\) Thus, we require \(u\left(x_{i}\right)=z_{i}\) The function \(u(x)\) is not linear in its coefficients, but \(v(x)=\ln (u(x))\) is linear in its. (a) Find a quadratic polynomial \(v(x)\) that interpolates appropriately defined three data pairs, and then give a formula for \(u(x)\) in terms of the original data. [This is a pen-and-paper item; the following one should consume much less of your time.] (b) Write a script to find \(u\) for the data \((0,1),(1, .9),(3, .5)\). Give the coefficients \(\gamma_{i}\) plot the resulting interpolant over the interval \([0,6] .\) In what way does the curve beh qualitatively differently from a quadratic?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.