+ 1
How to build a program that can calculat the root
you know that there is a root and a base I wanted to build a program that can calculate this 8^1/3 and some more examples like it but I couldn't so I need some help please
6 ответов
+ 2
You may have a look at this :
https://www.sololearn.com/discuss/292240/?ref=app
+ 2
https://code.sololearn.com/csaueF3SvIIy/?ref=app
This code I made includes powers. As for fractions, you'd have to convert those to decimal before passing them to the pow function
+ 1
Mmm, that's quite a bit more difficult. taking 8^3.14159265 power is hard to do without using a power function. You'd have to create your own, anyway, but it'd be tedious at the least. Why without the built in pow function?
0
Without built in functions? or does it not matter?
0
thanks
0
but without built in functions will be better