Professional Documents
Culture Documents
Solución de Método de NN - RR
Solución de Método de NN - RR
fx = xo ^ 3 + 2 * xo ^ 2 + 10 * xo - 20
Dfx = 3 * xo ^ 2 + 4 * xo + 10
xi = xo - fx / Dfx
fxi = xi ^ 3 + 2 * xi ^ 2 + 10 * xi - 20
xo = xi
i = i + 1
ListBox1.Items.Add(Format(i, "000") & Space(15) & Format(xo,
"0.000000") & Space(15) & Format(fx, "0.000000") & Space(15) & Format(Dfx,
"0.000000") & Space(15) & Format(xi, "0.000000") & Space(15) & Format(fxi,
"0.000000"))
End While
TextBox3.Text = Format(xi, "0.000000")
End Sub