home *** CD-ROM | disk | FTP | other *** search
- (*****************************************************************************)
- (* TABLE.INC *)
- (* *)
- (* Erstellen einer Wertetabelle von f *)
- (*****************************************************************************)
-
- Procedure Table;
-
- Const spc = ' ';
-
- Var x,xmin,xmax,dx :Real;
- key : Char;
-
- Begin
- GetInterval ('Tabellierung der Funktion', xmin, xmax, dx);
- WriteLn ('x':m-n, spc, 'y':m, spc, 'y'#39:m+1, spc, 'y"':m); WriteLn;
- x := xmin;
- Repeat
- if keypressed THEN
- BEGIN
- read(kbd,key);
- if key = ^s THEN read(kbd,key)
- END;
- WriteLn (x:m:n, spc, fn(x,0):m:n, spc, fn(x,1):m:n, spc, fn(x,2):m:n);
- x := x + dx
- until x > xmax
- End;