Given f(x) = exp x sinx. Find exact first derivative at x = 1.0.
In addition, find approximate first derivative using forward,
backward, central and higher order scheme for first derivative. Set
h = 0.1 for approximation.
Given f(x) = xlnx. Find exact and approximate second
derivatives at x = 1.0. Set h = 0.1 for approximation.
Develop a 4th order accurate symmetric scheme to approximate
the second derivative of f(x) at x.