home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / sci / math / 11022 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.4 KB

  1. Path: sparky!uunet!pipex!unipalm!uknet!pavo.csi.cam.ac.uk!camcus!gjm11
  2. From: gjm11@cus.cam.ac.uk (G.J. McCaughan)
  3. Newsgroups: sci.math
  4. Subject: Re: Wanted: Numerical method
  5. Message-ID: <1992Sep4.222852.23265@infodev.cam.ac.uk>
  6. Date: 4 Sep 92 22:28:52 GMT
  7. References: <ULF.LUNDE.92Sep4095830@grim.kvatro.no>
  8. Sender: news@infodev.cam.ac.uk (USENET news)
  9. Distribution: sci
  10. Organization: U of Cambridge, England
  11. Lines: 21
  12. Nntp-Posting-Host: bootes.cus.cam.ac.uk
  13.  
  14. In article <ULF.LUNDE.92Sep4095830@grim.kvatro.no>, Ulf.Lunde@kvatro.no (Ulf Lunde) writes:
  15. > Given a set of numbers, say {47, 79, 167, 223, 359, 439, 727, 839, 3 967} or
  16. > {383, 467, 659, 883, 1 583, 2 099, 2 287, 2 687, 3 119, 3 583}, how does one go
  17. > about in finding a smooth (polynomial) function f(x) which outputs those 
  18. > numbers for different (not necessarily neighbouring) integer values of x?  
  19. > Preferably a polynomial of low order and with a positive first coefficient.
  20. > E.g., given the set of numbers:  
  21. >  
  22. >    {8 297 644 387, 12 478 210 777, 16 658 777 167, 29 200 476 337} 
  23. > I would like the procedure to yield:
  24. >    f(x) = 4180566390x + 4117077997.
  25.  
  26. I think you'd better define your problem a little more carefully. An alternative
  27. solution in the last case you mention is: f(x) = x.
  28.  
  29. In general there is some N such that f(x)=x+N will do.
  30.  
  31. What do you need this for? I bet the answers I just mentioned don't solve the
  32. "real" problem...
  33.