Let f(x) = ex. 1- Write a C++ program to find the approximations to f'(2.3) using central-difference formula of order O(h?) with h=0.1, h=0.01, and h=0.001. You need to print a table like Table 6.2...


Let f(x) = ex.<br>1- Write a C++ program to find the<br>approximations to f'(2.3) using<br>central-difference formula of order<br>O(h?) with h=0.1, h=0.01, and<br>h=0.001. You need to print a table like<br>Table 6.2 and to find optimum step<br>size from the table (minimum error).<br>2- Complete your program by comparing<br>your results in part 1 with the value<br>f'(2.3)=e23.<br>3- Repeat part 1 using central-difference<br>formula of order O(h*).<br>

Extracted text: Let f(x) = ex. 1- Write a C++ program to find the approximations to f'(2.3) using central-difference formula of order O(h?) with h=0.1, h=0.01, and h=0.001. You need to print a table like Table 6.2 and to find optimum step size from the table (minimum error). 2- Complete your program by comparing your results in part 1 with the value f'(2.3)=e23. 3- Repeat part 1 using central-difference formula of order O(h*).

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here