Question discussion

The values of x are 1, 3, 4 and those of f(x) are 1, 27, 64. What is the polynomial equation by using the Lagrange interpolation formula?

3720Medium DSSSB TGT Computer Science 0 replies

The values of x are 1, 3, 4 and those of f(x) are 1, 27, 64. What is the polynomial equation by using the Lagrange interpolation formula?

  • A8x2 − 19x + 12
  • B8x2 + 9x + 12
  • C8x2 − 9x + 12
  • D8x2 + 9x + 12
Correct answer: A

Explanation

Let p(x) = ax² + bx + c. Using p(1) = 1, p(3) = 27 and p(4) = 64 gives a = 8, b = −19 and c = 12. So p(x) = 8x² − 19x + 12.

Discussion 0

Nobody has replied yet. Start the discussion!