/p>
{[1] = 1/(2 * a [1]) * (-a [4]-a [2] * x [0] + j * temp);> Series [ 0] -> AddXY (x [0], x [1]);
}
} [0] = x0_min + random (count) * dx0; = a [4] * a [4] +2 * a [4] * a [2] * x [0] + a [2] * a [2] * x [0] * x [0] -
* a [1] * a [0] * x [0] * x [0] -4 * a [1] * a [5] +4 * a [1] * f-
* a [1] * a [3] * x [0]; (temp <0) temp = 0; else temp = pow (temp, 0.5); [1] = 1/( 2 * a [1]) * (-a [4]-a [2] * x [0] + (random (2) * 2-1) * temp);
}
}
{[0] = 2 * a [0] * x [0] + a [2] * x [1] + a [3]; [1] = 2 * a [1] * x [1] + a [2] * x [0] + a [4];
}
{[0] [0] = 2 * a [0]; ge [0] [1] = ge [1] [0] = a [2]; ge [1] [1 ] = 2 * a [1];
}
{t [2]; [0] = 2 * a [0] * s [0] * x [0] + 2 * a [1] * s [1] * x [1 ] + [2] * s [0] * x [1] + a [2] * s [1] * x [0] + [3] * s [0] + a [4] * s [1]; [1] = a [0] * s [0] * s [0] + a [1] * s [1] * s [1] + [2] * s [0] * s [1]; (fabs (t [0])
}
{i, j, k; bool l; gr [2],// ​​градієнт [2],// ​​напрямок [2] [2] = {{nx [0], nx [1 ]}},// ​​точки;// коефіцієнт пошуку уздовж
-> Cells [0] [1] = 1; -> Cells [1] [1] = x [0] [0]; -> Cells [2] [1] = x [0] [1]; -> Cells [3] [1] = f (x [0]); -> RowCount = 2; (k = 0, 1, k + +)
{(x [k], gr); (sqrt (pow (gr [0], 2) + (gr [1], 2)) Cells [1] [k +2] = x [1] [0]; -> Cells [2] [k +2] = x [1] [1]; -> Cells [3] [k +2] = f (x [1]); -> RowCount = break; (i = 0; i <2; i + +) x [0] [i] = x [1] [i];
}
}
{[0] = StrToFloatDef (LabeledEdit1-> Text, 1); [1] = StrToFloatDef (LabeledEdit2-> Text, 1); [2] = StrToFloatDef (LabeledEdit3-> Text , 1); [3] = StrToFloatDef (LabeledEdit4-> Text, 1); [4] = StrToFloatDef (LabeledEdit5-> Text, 1); [5] = StrToFloatDef (LabeledEdit6-> Text, 1); [ 0] = StrToFloatDef (LabeledEdit7-> Text, 1); [1] = StrToFloatDef (LabeledEdit8-> Text, 1); E1, E2; = StrToFloatDef (LabeledEdit9-> Text, 1); = StrToFloatDef (LabeledEdit10- > Text, 1); (E1, E2, 1E3, 5);
}
{-> Cells [0] [0] = "i"; -> Cells [1] [0] = "x [i] [0]"; -> ; Cells [2] [0] = "x [i] [1]"; -> Cells [3] [0] = "f (x [i])";
}
}