Professional Documents
Culture Documents
{
double funcion = Math.Pow(x, 3) - 13 * x - 12;
return funcion;
}
do
{
B = (A * h1) + d1;
C = funcion(X2);
R = Math.Sqrt(Math.Pow(B, 2) - (4 * A * C));
if (B + R > B - R)
{
denom = B + R;
}
else
{
denom = B - R;
}
h = (-2 * C) / (denom);
X3 = X2 + h;