Results 1 to 3 of 3
- 09-27-2010, 11:11 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 20
- Rep Power
- 0
Find the square root with a particular method
Hi,
I have to find the square root of a number, but not with Math.sqrt or other else.
The methode I have to use is based on this table:
I have noticed the number zero is listed one time, the one three times, the two five times... 2n+1 times for all numbers.Java Code:SQUARE 0 1 2 3 4 5 6 7 8 9 10 .. 15 16 17 .. 24 25 26 27 ROOT 0 1 1 1 2 2 2 2 2 3 3 .. 3 4 4 .. 4 5 5 5
It's been several days that I try to find the algorithm that table, but I
found nothing :( I therefore request your help to try to see things more clearly.
Thanks for your helpLast edited by Fubarable; 09-27-2010 at 11:15 PM. Reason: Moderator Edit: Code tags added
- 09-27-2010, 11:33 PM #2
How does that table show a method to use? It shows the square roots truncated to integer values.The methode I have to use is based on this table:
Do you have an alogrithm for finding the square root of a number?
I'm not sure what that table does to solve the problem.
- 09-27-2010, 11:39 PM #3
Member
- Join Date
- Sep 2010
- Posts
- 20
- Rep Power
- 0
No I don't have an alogrithm it's currently what i'm searching for. The same table is on wikipedia : Racine carrée - Wikipédia
sorry I don't find it in english i'ts in french and it's after the middle on the page.
Thanks
Similar Threads
-
square root and prime numbers
By roud9 in forum New To JavaReplies: 16Last Post: 09-22-2010, 03:20 PM -
Simple square root problem!
By nortski in forum New To JavaReplies: 7Last Post: 04-01-2009, 02:11 PM -
Can't find method
By 01allenh in forum New To JavaReplies: 1Last Post: 03-25-2009, 07:46 PM -
Creating a New Method for Square Root Loop
By SapphireSpark in forum New To JavaReplies: 14Last Post: 02-25-2009, 01:21 PM -
Find nth root of a number
By perito in forum New To JavaReplies: 1Last Post: 03-03-2008, 06:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks