Question: Write a computer program to compute af a?f a3f atf ox'ax2' 2x3 ,and at x = 1.5 and 2.5 for 2x+ f(x) = sin (r
Write a computer program to compute af a?f a3f atf ox'ax2' 2x3 ,and at x = 1.5 and 2.5 for 2x+ f(x) = sin (r x/2). Use central differencing of second order with the following step sixes: Ax = 0.001,0.01, 0.1,0.2, 0.3, and 0.4. Also determine the % of error for each computation by % Error = 100 Numerical value Analytical valu Analytical value Compare and discuss the results. value) Write a computer program to compute af a?f a3f atf ox'ax2' 2x3 ,and at x = 1.5 and 2.5 for 2x+ f(x) = sin (r x/2). Use central differencing of second order with the following step sixes: Ax = 0.001,0.01, 0.1,0.2, 0.3, and 0.4. Also determine the % of error for each computation by % Error = 100 Numerical value Analytical valu Analytical value Compare and discuss the results. value)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
