Ask your own question, for FREE!
Computer Science 10 Online
OpenStudy (anonymous):

Code on getting a cube root of a number?

OpenStudy (doc.brown):

Enter variable v to solve. Loop c+=1 multiply c*c*c compare product to v if it's bigger add c-1 to answer endloop Loop again for 0.c loop again for 0.0c loop again for 0.00c keep looping for the number of decimal places you want Eventually you will build the number one digit at a time.

OpenStudy (doc.brown):

there is probably also a function like math.pow(v,1/3)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!