Task 8 is done?
This commit is contained in:
parent
c10e3d3bb1
commit
84233f1e84
6 changed files with 101 additions and 11 deletions
|
@ -28,7 +28,8 @@ int t4_solve (
|
|||
|
||||
for (it = 1; it <= m; ++it)
|
||||
{
|
||||
c = b - ((b - a) / (y_b - y_a)) * y_b;
|
||||
// c = b - ((b - a) / (y_b - y_a)) * y_b;
|
||||
c = a - ((b - a) / (y_b - y_a)) * y_a;
|
||||
y = f(c);
|
||||
|
||||
if (is_eps(y, eps))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue