This repository has been archived on 2024-12-25. You can view files and clone it, but cannot push or open issues or pull requests.
2024-03-10 20:32:51 +03:00

11 lines
274 B
ObjectPascal
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

uses NumLibABC;
// Нахождение всех корней полинома с действительными коэффициентами
// методом Ньютона —Рафсона
begin
var p:=new Polynom(-609, -283 ,294, -38, -5,1);
var oL:=new PolRt(p);
if oL.ier=0 then oL.Value.Println
else Writeln('Ошибка: ier=',oL.ier);
end.