+ 1

An algorithm to find cuberoot the number upto 4 digit of precision after the decimal, for eg cuberoot of 41 is 3.4482

19th Aug 2019, 12:32 PM
blank
blank - avatar
7 Answers
+ 1
Look up Newton-Raphson. That is what they are usually after. And if that doesn't help, you can look through my answers. I have implemented it in Python and posted the code somewhere here on SL as an answer to a question on how to get a cube root.
19th Aug 2019, 4:09 PM
Thoq!
Thoq! - avatar
0
You could start from 0, and check contonuously if the floor of its cube is equal to the number (only works fir whole numbers), incrementing by 0.0001 each time. If there is no result until the number; starz again from 0 to and subtract 0.0001 this time.
19th Aug 2019, 12:37 PM
Airree
Airree - avatar
0
Please present your code and ask about problems you encounter there. This helps more than just throwing a running code to you 😉
19th Aug 2019, 12:38 PM
Matthias
Matthias - avatar
0
I got no idea how to do this
19th Aug 2019, 12:41 PM
blank
blank - avatar
0
Well, that doesn't mean we have to do it for you.
19th Aug 2019, 12:42 PM
Airree
Airree - avatar
0
OK i try to make the codeđŸ˜đŸ‘ŒđŸ»
19th Aug 2019, 12:42 PM
blank
blank - avatar
0
OK thanks
20th Aug 2019, 1:24 AM
blank
blank - avatar