Курсовая работа: Дослідження методів інтерполяції
outtextxy (20,y1+60*2,'-1.5');
outtextxy (20,y1+40*2,'-1.0');
outtextxy (20,y1+20*2,'-0.5');
until keypressed;
if readkey=#0 then driver: =ord (readkey);
closegraph
end;
{---------------------ZASTAVKA--------------------------------------------------}
{---------------------------------------------------------------------------------------}
procedure zastavka;
begin
clrscr; GoToXY (14,2);
Writeln (' (C) CopyRight by Alexander Kyrsta, BHTY, 1AM-03');
GoToXY (29,5); Writeln ('PROGRAM INTERPOL, 2006');
Writeln; GoToXY (32,13); Writeln ('VUBERITb METOD'); Writeln;
GoToXY (24,15); Writeln ('1-METOD ROZPODILENUX RIZNUCb. ');
GoToXY (24,17); Writeln (' 2-METOD LAGRANJA. ');
GotoXY (24,25); Writeln (' Press Esc+Enter for exit ');
end;
{-------------------------------------------------------------------}
{------------------OSNOVNA PROGRAMA------------------------------------}
begin
zastavka;
repeat
ch: =readkey;
case ch of
{-------------METOD ROZPODILENUX RIZNUCb----------------------------}
#49: begin
{ROZPODILENI RIZNUCI 1 PORIADKY}