home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 16 / bbd16.zip / INTERPOL.TXT < prev    next >
Text File  |  1987-11-06  |  2KB  |  48 lines

  1. |D╔══════════╗════════════════════════════════════════════════════════════════════
  2. |D║ |5Helpware |D║════════════════════════════════════════════════════════════════════
  3. |D╚══════════╝════════════════════════════════════════════════════════════════════
  4.  
  5. ^C^1INTERPOLATION
  6. ^Cby Thierry G. Lombry
  7.  
  8.    Interpolation is the mathematical art of fitting a curve to a set of 
  9. points.  This is what you must do if you have a whole set of data, such as 
  10. scientific observations, and wish to find a mathematical function that best 
  11. describes it.
  12.  
  13.    This program accepts input of the x and y coordinates of a set of data 
  14. points.  For instance, if you are conducting an experiment regarding rate of 
  15. rainfall, x might be the number of days since the start of the experiment, 
  16. while y is the cumulative number of inches of rain measured since the 
  17. experiment began.  Or if you're tracking political results, x could be the 
  18. year of a Presidential election and y the number of votes a particular party 
  19. received.  Each data point consists of these two coordinates.
  20.  
  21.    Once the data has been entered, a polynomial function will be computed to 
  22. fit the data as closely as possible.  A polynomial is a sum of various powers 
  23. of x, like 1, x, x^^2 (x squared), x^^3 (x cubed), etc.  Each power is multiplied
  24. by a constant known as a coefficient.  The value of y for a given x is found 
  25. by plugging the value of x into the equation and solving for y; there is one 
  26. unique value of y for each x.  If a good fit is reached, the value of y for a 
  27. particular x will be close to the originally-input coordinates of a point 
  28. involving the same x.
  29.  
  30.    After the polynomial is shown, its derivative and integral are also given; 
  31. this will make some sense to you if you've taken some calculus, but is likely 
  32. to mystify you otherwise.  In simple terms, the derivative is the rate at 
  33. which the original function changes as you increase x; the integral is the 
  34. area underneath the curve of the function between the lower and upper limits 
  35. of x that are charted.
  36.  
  37.    Once all of this math is over with, if you have a color graphics adapter 
  38. you will be shown a graph of the original points and the polynomial function.  
  39. You can see from this how well the function fits your points, and get an idea 
  40. what the curve looks like.
  41.  
  42.    To run this program outside ^1Big Blue Disk^0, type:  ^1INTERPOL^0.
  43.  
  44. DISK FILES THIS PROGRAM USES:
  45. ^FINTERPOL.EXE
  46. ^FBRUN30.EXE
  47. ^FRETURN30.EXE
  48.