home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / utility / sm22a.zip / SYMBMATH.H12 < prev    next >
Text File  |  1993-04-21  |  696b  |  27 lines

  1.         10.11     Tables of Function Values
  2.  
  3.     If you want to look at a table of values for a formula, you 
  4. can use the table command:
  5.  
  6.       table(f(x), x)
  7.       table(f(x), x from xmin to xmax)
  8.       table(f(x), x from xmin to xmax step dx)
  9.  
  10. It causes a table of values for f(x) to be displayed with x=xmin, 
  11. xmin+dx, ..., xmax.  If xmin, xmax, and step omit, then xmin=-5, xmax=5,
  12. and dx=1 for default. You can specify a function to be in table(), 
  13.     Example. Make a table of x^2.
  14.     Input:
  15. table(x^2, x)
  16. end
  17.     Output:
  18. -5,    25
  19. -4,    16
  20. -3,    9
  21. -2,    4
  22. :       :
  23. :       :
  24.  
  25.     Its output can be written into a disk file for interfacing
  26. with other software (e.g. the numeric computation software).
  27.