home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / library / qb_pds / math / mathlib / demo.txt < prev    next >
Encoding:
Text File  |  1991-06-01  |  1.7 KB  |  36 lines

  1.  
  2.  
  3.          RealFun:  Real & Complex Math Libraries for QuickBASIC
  4.  
  5.          DEMO.TXT
  6.  
  7.  
  8.  
  9.          Included in this package are 4 demonstration programs, so
  10.  
  11.          that you can get a feel for how the libraries are used.  The
  12.  
  13.          sources are stored in text mode so they can be accessed with
  14.  
  15.          your favorite text processor (like 'more').  The executables
  16.  
  17.          are stand-alone; they don't need any of the QuickBASIC
  18.  
  19.          modules to run.
  20.  
  21.  
  22.  
  23.          DEMOATAN shows how functions in REALFUN can compute the
  24.  
  25.          inverse tangent, properly accounting for the quadrant in
  26.  
  27.          which the angle lies.  QuickBASIC's inverse tangent
  28.  
  29.          function, ATN, would give -0.7854 radians as the inverse
  30.  
  31.          tangent of -1, whereas REALFUN would give you -0.7854, or
  32.  
  33.          2.3562 radians, or -45 or 135 degrees, depending on what you
  34.  
  35.          want.
  36.  
  37.  
  38.  
  39.          DEMOTRIG runs through the gamut of the circular and
  40.  
  41.          hyperbolic trigonometric functions, tabulating the different
  42.  
  43.          values for different angles.
  44.  
  45.  
  46.  
  47.          DEMOJUL displays a Julia set fractal on a 320 x 200 x 256
  48.  
  49.          screen.  This program is slow, but is a powerful framework
  50.  
  51.          for "rolling-your-own" fractals.  To interrupt the program,
  52.  
  53.          hit any key.  The finished product is contained in
  54.  
  55.          DEMOJUL.GIF.
  56.  
  57.  
  58.  
  59.          DEMONEWT displays another type of fractal, that resulting
  60.  
  61.          from applying Newton's method to the equation z^4 = 1. 
  62.  
  63.          Again, this is not a quick program, but provides a framework
  64.  
  65.          for developing your own fractals.  To stop the program in
  66.  
  67.          mid-draw, hit any key.  The finished picture is NEWTON.GIF.
  68.  
  69.