GATE | GATE CS 1996 | Question 6
The formula used to compute an approximation for the second derivative of a function f at a point X0 is
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.
Explanation: The formula used to compute an approximation of the first derivative of an f at a point x0 is
f'(x0) = (f(x0+h) - f(x0))/h
so an approximation of the second derivative of an f at a point x0 is
f''(x0) = (f'(x0) - f'(x0-h))/h =[ ((f(x0+h) - f(x0))/h )- (( f'(x0) - f'(x0-h))/h)]/h =[ f(x0+h)-2f(x0)+f(x0-h)] /h^2
Hence , option (D) is correct.
Quiz of this Question