If f(1) = 4 and f(5) = 6, then using Lagrange interpolation, what is the value…

2021

If f(1) = 4 and f(5) = 6, then using Lagrange interpolation, what is the value of f(3)?

Answer: A. 5Using the two-point Lagrange interpolation formula for (1, 4) and (5, 6): f(3) = 4 * (3 - 5)/(1 - 5) + 6 * (3 - 1)/(5 - 1) = 4 * (1/2) + 6 * (1/2) = 2 + 3 =…

  1. A.

    5

  2. B.

    6.5

  3. C.

    4

  4. D.

    3

Attempted by 30 students.

Show answer & explanation

Correct answer: A

Using the two-point Lagrange interpolation formula for (1, 4) and (5, 6):

f(3) = 4 * (3 - 5)/(1 - 5) + 6 * (3 - 1)/(5 - 1)
    = 4 * (1/2) + 6 * (1/2)
    = 2 + 3
    = 5.

Therefore, f(3) = 5.

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…