+ 1
An algorithm to find cuberoot the number upto 4 digit of precision after the decimal, for eg cuberoot of 41 is 3.4482
7 Antworten
+ 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.
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.
0
Please present your code and ask about problems you encounter there.
This helps more than just throwing a running code to you 😉
0
I got no idea how to do this
0
Well, that doesn't mean we have to do it for you.
0
OK i try to make the code😁👌🏻
0
OK thanks