home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / fractals / 296 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.1 KB  |  29 lines

  1. Newsgroups: sci.fractals
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!uchinews!machine!gagme!gagme!modus
  3. From: modus@gagme.chi.il.us (Patrick M. Kane)
  4. Subject: Newton's Method
  5. Message-ID: <1992Nov8.221326.11267@gagme.chi.il.us>
  6. Originator: modus@gagme
  7. Lines: 17
  8. Sender: modus@gagme.chi.il.us (Patrick M. Kane)
  9. Organization: Gagme Public Access UNIX, Chicago, Illinois.
  10. Date: Sun, 8 Nov 1992 22:13:26 GMT
  11.  
  12. I recently read the book FRACTAL PROGRAMMING IN PASCAL and have a question
  13. relating to the generation of Newton's Method fractals.  The following code
  14. fragment iterates the equation z^3-1=0 :
  15. xsquare= x * x
  16. ysquare = y * y
  17. denom = 3 * ((xsquare - ysquare) * (xsquare - yswaure) - 4 * xsquare *
  18. ysquare)
  19. IF denom = 0 then denom = 0.0000001
  20. x = (2/3) * x + (xsquare - ysquare) / denom
  21. y = (2/3) * y - (2 * x * y) / denom
  22.  
  23. This does, of course, work beautifully.  However, with my high school calculus
  24. skills, I am unable to understand WHY.  Could someone please e-mail or post a
  25. step by step explanation of each part of the above fragment?  Any help is
  26. appreciated.
  27.  
  28. Patrick Kane
  29.