home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4579 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  36 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: cs.vu.nl!irmen
  3. From: irmen@cs.vu.nl (Irmen de Jong)
  4. Subject: Re: Integer Sine tables?
  5. Nntp-Posting-Host: fluit.cs.vu.nl
  6. References: <4glqbd$4ab@nnrp1.news.primenet.com> <4gpbi1$3i5@maureen.teleport.com> <1996Feb26.162410.27523@imada.ou.dk> <4gvq0q$qqd@maureen.teleport.com>
  7. Sender: news@cs.vu.nl
  8. Organization: Dept. of Computer Science, Vrije Universiteit Amsterdam
  9. Date: Fri, 1 Mar 1996 14:57:23 GMT
  10. X-Newsreader: TIN [version 1.2 PL2]
  11. Message-ID: <DnLG7o.BEE.0.-s@cs.vu.nl>
  12.  
  13. On 27 Feb 1996 20:36:42 GMT Stephan Schaem (sschaem@teleport.com) (Stephan Schaem) wrote:
  14.  
  15. :  speaking of math... any idea how to find an aproximation of the curve
  16. :  y = 1/(1/x) = x^2 using an incremental methode like: y = x+a , a+=b ?
  17.        ^^^^^^^^^^^^^
  18. hmmm ;-)
  19.  
  20.  
  21. :  (its just that its in my head right at this moment and I'm blank :)
  22. :  Stephan
  23.  
  24. Anyway, to calculate x^2:
  25.  
  26. The differences between all squares form the sequence of odd numbers:
  27.  
  28. 0 - 1 - 4 - 9 - 16 - 25 ...
  29.   1   3   5   7    9   ...
  30.  
  31.  
  32. So just add the next odd number to get the next square.
  33.  
  34. Cheers
  35. Irmen
  36.