Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help. Many engineering applications of differential calculus involve second derivatives. For example. Newton's second law Fzma can be written in the form where r
Please help.
Many engineering applications of differential calculus involve second derivatives. For example. Newton's second law Fzma can be written in the form where "r" represents position and "a" represents acceleration. But what if the position cannot be expressed as a polynomial, exponential. logarithmic. or trigonometric function? For example. a booster rocket is subject to many unplanned in-ight accelerations. such as high altitude winds and asymmetric thrust: one way to reconstruct those accelerations would be to periodically sample the booster's position using GPS. then apply numerical analysis. To illustrate these principles. let's return to a one-dimensional example. Specically. let's start with the denition of the second derivative: f\" (mi) : Limhgyo f,(Il+h'-)Liflltkl where $.- is a nodal point on a one-dimensional mesh, and h is the spacing between nodes: Xi-1 Xi Xi+1 If we estimate f' (1'.- + h) using the forward difference formula and f ' (1:1) using the backward difference formula. we have momenta) 7 liolcflwrkl II b h f (Ti) 2 h which reduces to the central difference formula for the second derivative @4417? 13+ 1,7}; f\"(xi) 2 fl ) fill fl J Again. this is only a numerical estimate: we are not taking the limit as h goes to zero. so there will be an error in the estimate. We would expect that. as the mesh size h becomes smaller, the error in this estimate would also become smaller: but does the error drop quickly. or only very slowly? With this background. here is your assignment: - Assume the function fis defined as f (w) = 5 C053: 7 43ml\" - Use the corresponding derivative rules to find the second derivative f \" (1:) and evaluate that second derivative at x = 1.7. Be sure your calculator is in radians mode. Note: To avoid round- off error, retain at least eight decimal places in your calculations. - Use the "central difference formula for the second derivative" to estimate f \" (3:) at x = 1.7 for four different values of the mesh sizes 0 h=0.2 o h=O.1 o h=0.05 o h=0.025 Note: To avoid round-off error, retain at least eight decimal places in your functional evaluations, and retain the maximum possible number of decimal places in calculations of the central difference approximation. - Use your calculated values to ll in this table: Calculate second derivatives: central difference , _ error = approximation - h , , exact second derivative apprOXImahon exact value 0.2 0.1 0.05 0.025 Note: To avoid round-off error, retain the maximum possible number of decimal places in calculations of the error. - Answer the following two questions: 0 Does the error in the central difference approximation drop as the mesh size h is reduced? 0 As the mesh size h is reduced by a factor of 2, by what factor is the error in the central difference approximation reducedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started