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

10 lines
152 B
ObjectPascal

uses NumLibABC;
// Îäíîìåðíàÿ îïòèìèçàöèÿ
begin
var fun:real->real:=x->x*Sqr(x)-2*x-5;
var oL:=new Fmin(fun,-1,1);
Println(oL.x, oL.Value)
end.