Results 1 to 4 of 4
  1. #1
    javasri is offline Member
    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0

    Default Without Using Java.lang.Math Square Root.. How to calculate of 2 given Numbers.

    Without Using Java.lang.Math Square Root method.... How to calculate of square root 2 given Numbers.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    You would need to use a numeric method many of which can easily be found by searching Wikipedia for methods of computing square roots. Please note that your question is more of an algorithmic question and not a Java question per se.

  3. #3
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Structure and Interpretation of Computer Programs
    This link should prove helpful, check the first chapter for something that should help you.

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,734
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by javasri View Post
    Without Using Java.lang.Math Square Root method.... How to calculate of square root 2 given Numbers.
    What is the square root of *two* numbers? That function is defined over one single argument; please elaborate.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. How to work out square root of Total
    By ls7897 in forum New To Java
    Replies: 23
    Last Post: 03-09-2011, 06:18 AM
  2. Java Calculator Square Root Pleas Help
    By TommyR in forum Advanced Java
    Replies: 6
    Last Post: 02-03-2011, 04:28 PM
  3. Find the square root with a particular method
    By roud9 in forum New To Java
    Replies: 2
    Last Post: 09-28-2010, 12:39 AM
  4. square root and prime numbers
    By roud9 in forum New To Java
    Replies: 16
    Last Post: 09-22-2010, 04:20 PM
  5. Simple square root problem!
    By nortski in forum New To Java
    Replies: 7
    Last Post: 04-01-2009, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •