home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / 15174 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.2 KB  |  26 lines

  1. Newsgroups: sci.math
  2. Path: sparky!uunet!news.centerline.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!doug.cae.wisc.edu!zazen!schaefer.math.wisc.edu!mueller
  3. From: mueller@schaefer.math.wisc.edu (Carl Douglas Mueller)
  4. Subject: Re: Square root of a number
  5. Message-ID: <1992Nov18.142932.25808@schaefer.math.wisc.edu>
  6. Reply-To: mueller@schaefer.UUCP (Carl Douglas Mueller)
  7. Organization: Univ. of Wisconsin Dept. of Mathematics
  8. References: <1992Nov15.194049.1@woods.ulowell.edu> <1992Nov18.114710.28333@rz.uni-karlsruhe.de>
  9. Distribution: na
  10. Date: Wed, 18 Nov 92 14:29:32 GMT
  11. Lines: 13
  12.  
  13. >In article <1992Nov15.194049.1@woods.ulowell.edu> buxamusaa@woods.ulowell.edu writes:
  14. >>Please could someone help me with an assignment that I have to do.
  15. >>It is a very general question, though the answer could be quite lengthy.
  16. >>"Discuss methods for finding the square root of a number."
  17. >>What I am looking for are all possible methods/alogrithms for this.
  18.                             ^^^^^^^^^^^^^^^^^^^^
  19.  
  20. There are MANY methods.  For example to find the square root of x.
  21. 1) Pick a random number r.
  22. 2) Compute r*r.  
  23. 3) if r*r <> x goto 1.
  24.  
  25. (OK, so this isn't an efficient method.  It is a method.   :-)  )
  26.