home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / turbopas / pas_sci.arc / SCILIB.DOC < prev    next >
Text File  |  1985-09-27  |  6KB  |  159 lines

  1. ******************************************
  2. ****   Scientific Subroutine Library  ****
  3. ****         for Turbo Pascal         ****
  4. ******************************************
  5.             September 27, 1985
  6.  
  7. The following programs were written by Allen Miller
  8. and appear in the book entitled "Pascal Programs For Scientists
  9. And Engineers" which is published by Sybex, 1981.
  10. They were originally typed and submitted to MTPUG
  11. in Oct. 1982   Juergen   Loewner,
  12. D-4400 Muenster, Hoher Heckenweg 3, West Germany.
  13. They have had minor corrections and adaptations for
  14. Turbo Pascal by Jeff Weiss, 1572 Peacock Ave., Sunnyvale,
  15. CA 94087.
  16.  
  17. Full programs have .PAS extension; library procedures and
  18. functions have .LIB extension and are generally used with
  19. {$I  ...} INCLUDE statements.
  20.  
  21.  
  22. MEANS.PAS:     Program to test MEANSTD.LIB.  (p.26)
  23.  
  24. MEANSTD.LIB:   This routine computes the mean and the standard
  25.                deviation of a set of numbers. (p.26)
  26.  
  27. RANDOM.LIB:    A random generator (0..1).  Note the internal routine
  28.                with Turbo Pascal is superior and used subsequently.
  29.                (p. 29)
  30.  
  31. RANTST.PAS:    Program to test RANDOM.LIB,RANDG.LIB.   (p. 32)
  32.  
  33. RANDG.LIB:     A random generator with gaussian distribution. (p.35)
  34.  
  35. MATR1.PAS:     A matrix multiplication program.  (p. 50)
  36.  
  37. DETERM.PAS:    A  program to calculate the determinant of  a  3x3
  38.                matrix.  (p. 55)
  39.  
  40. SIMQ1.PAS:     A program to solve three simultaneous equations
  41.                by Cramer's Rule.  (p. 67)
  42.  
  43. GAUSS.PAS:     A  program  to  perform simultaneous  solution  by
  44.                Gaussian elimination.   (p. 75)
  45.  
  46. SOLVGJ.PAS:    same as above but Gauss-Jordan algorithm. (p. 84)
  47.  
  48. GAUSSJ.LIB:    Gauss-Jordan matrix inversion and solution. (p. 87)
  49.  
  50. SOLVGV.PAS:    A  program to perform  simultan.  sol.  by  Gauss-
  51.                Jordan elimination with (mult.) const. vect. (p.96)
  52.  
  53. SOLVIT.PAS:    Solve Hilbert matrix by Gauss-Jordan elimination,
  54.                example of ill-conditioning.  (p. 106)
  55.  
  56. SOLVGJ2.PAS:   A  program to perform simult.  solution when using
  57.                more  equations  than  unknowns  (by  Gauss-Jordan
  58.                elimination).  (p. 111)
  59.  
  60. SOLVEC.PAS:    A  program  to perform simultaneous  solution  for
  61.                complex coefficients.  (p. 119)
  62.  
  63. GAUSID.PAS:    A program to perform simult. sol. by Gauss-Seidel.
  64.                (p. 129)
  65.  
  66. CFIT1.PAS:     A program to perform a linear least-squares curve-
  67.                fit.  (p. 139)
  68.  
  69. CFIT1a.PAS:    same as above but with a random generator. (p.142)
  70.  
  71. PLOT.LIB:      A (printer-) plotter subroutine.   (p. 147)
  72.  
  73. CFIT2.PAS:     A plotting program using PLOT.LIB.  (p. 153)
  74.  
  75. LINFIT1.LIB:   A  program  which fits a straight line  through  n
  76.                sets of x and y pairs of points.  (p. 159)
  77.  
  78. LINFIT2.LIB:   Another example of the above prog.  (p. 167)
  79.  
  80. CFIT4.PAS:     A linear least-squares fit program.    (p. 164)
  81.  
  82. TSTSORT.PAS:   Program to test various sort routines. (p. 172)
  83.  
  84. SORT-B1.LIB    A bubble-sort.  (p. 173)
  85.  
  86. SORT-B.LIB:    A variation of the above prog.  (p. 176)
  87.  
  88. SORT-S.LIB:    A Shell-sort procedure.   (p. 178)
  89.  
  90. SORT-Q-R.LIB:  A recursive Quick-sort.   (p. 180)
  91.  
  92. SORT-Q-N.LIB:  A nonrecursive of Quick-sort.   (p. 183)
  93.  
  94. LEAST1.PAS:    A program to perform a linear least-squares fit. (p. 191)
  95.  
  96. LEAST2.PAS:    As above but now with Gauss-Jordan procedure.   (p.203)
  97.  
  98. LEAST3.PAS:    A variation of LEAST2.   (p. 209)
  99.  
  100. LEAST4.PAS:    Fit to heat capacity Equation.  (p. 216)
  101.  
  102. LEAST5.PAS:    Fit to vapor pressure equation.  (p. 220)
  103.  
  104. LEAST6.PAS:    Variations with different problems.  (p. 226)
  105.  
  106. NEWDR.PAS:     A program to solve equations by Newtons method. (p. 243)
  107.  
  108. NEWDR2.PAS:    Another version of the program above.  (p. 249)
  109.  
  110. NEWTON.LIB:    The Newton program for a library. (p. 252)
  111.  
  112. NEWTON-L.LIB:  The Newton program with an iteration counter.
  113.  
  114. TRAP1.PAS:     A  program  for integrations  by  the  trapezoidal
  115.                rule.  (p. 264)
  116.  
  117. TRAP2.PAS:     Another better version of the above.  (p. 266)
  118.  
  119. TRAP3.PAS:     Final improved version calling trapez.lib   (p. 270)
  120.  
  121. TRAPEZ.LIB:    Improved Trapezoidal with end-correction. (p. 270)
  122.  
  123. SIMP1.PAS:     Another integration program now by Simpson's rule. (p. 273)
  124.  
  125. SIMP2.PAS:     Program calls SIMPS.LIB.  (p. 278)
  126.  
  127. SIMPS.LIB:     Simpson procedure with end-correction.   (p. 278)
  128.  
  129. ROMB1.PAS:     Last  not least a integration program by the
  130.                Romberg method.  (p. 281)
  131.  
  132. ROMB3.PAS:     As above but now with adjustable panels.  (p. 287)
  133.  
  134. FITPOL.PAS:    A  program to perform linear least-squares fit  to
  135.                the ratio of 2 polynomals.  (p. 295)
  136.  
  137. DIFFUS.PAS:    An example of the above: diffuson of Zn in Cu. (p. 302)
  138.                (A least squares fit to the linearized e-function)
  139.  
  140. NLIN3.PAS:     Same  as  above  but now with a  nonlinearized
  141.                e-function.  (p. 310)
  142.  
  143. ERFSIMP.PAS:   The Gaussian Error Function by Simpson's rule. (p. 323)
  144.  
  145. ERFD.PAS:      An  infinite  series expansion  for  the  Gaussian
  146.                error function.  (p. 326)
  147.  
  148. ERFD3.PAS:     The Gaussian error function and its complement. (p. 330)
  149.  
  150. ERF4.PAS:      An improved Gaussian error function.  (p. 334)
  151.  
  152. TSTGAM.PAS:    A program to test the Gamma function.  (p. 341)
  153.  
  154. TSTBES.PAS:    A program to test the Bessel function.  (p. 344)
  155.  
  156. BESY.PAS:      An  evaluation  of the Bessel function of the  2nd
  157.                kind.  (p. 349)
  158.  
  159.