Ed
há 2 meses
Vamos fazer a interpolação polinomial usando os pontos dados: (-1,1), (1,1) e (3,-7), para encontrar y quando x=0. Passo 1: Usar o método de interpolação de Lagrange. Os polinômios base de Lagrange são: L0(x) = ((x - x1)(x - x2)) / ((x0 - x1)(x0 - x2)) L1(x) = ((x - x0)(x - x2)) / ((x1 - x0)(x1 - x2)) L2(x) = ((x - x0)(x - x1)) / ((x2 - x0)(x2 - x1)) Com os pontos: x0 = -1, y0 = 1 x1 = 1, y1 = 1 x2 = 3, y2 = -7 Calculando L0(0): L0(0) = ((0 - 1)(0 - 3)) / ((-1 - 1)(-1 - 3)) = (-1)(-3) / (-2)(-4) = 3 / 8 = 0,375 Calculando L1(0): L1(0) = ((0 - (-1))(0 - 3)) / ((1 - (-1))(1 - 3)) = (1)(-3) / (2)(-2) = (-3) / (-4) = 0,75 Calculando L2(0): L2(0) = ((0 - (-1))(0 - 1)) / ((3 - (-1))(3 - 1)) = (1)(-1) / (4)(2) = (-1) / 8 = -0,125 Passo 2: Calcular y(0): y(0) = y0 * L0(0) + y1 * L1(0) + y2 * L2(0) y(0) = 1 * 0,375 + 1 * 0,75 + (-7) * (-0,125) y(0) = 0,375 + 0,75 + 0,875 = 2,0 Resposta correta: C) 2
Cadastre-se ou realize login