+ 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

4th Jun 2018, 10:54 PM
Loai Salem
Loai Salem - avatar
6 odpowiedzi
+ 2
5th Jun 2018, 2:51 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 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
4th Jun 2018, 11:11 PM
J.G.
J.G. - avatar
+ 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?
5th Jun 2018, 2:20 AM
J.G.
J.G. - avatar
0
Without built in functions? or does it not matter?
4th Jun 2018, 11:09 PM
J.G.
J.G. - avatar
0
thanks
4th Jun 2018, 11:31 PM
Loai Salem
Loai Salem - avatar
0
but without built in functions will be better
4th Jun 2018, 11:48 PM
Loai Salem
Loai Salem - avatar