Hello all. I've a question regarding using fractions as exponents. Not quite sure how to start this in Java.
For example, let's say someone gives you an equation from an excel sheet as follows:
(AxB)^1/3
I'm assuming this means multiplying A*B then raising it to the power of 1/3 (one third). How would one go about writing this in Java math? I don't think I've ever working with fractions as exponential powers before.
I've attempted to convert it to a decimal value however the math doesn't seem to come out correctly. I've also tried it on the regular calculator, but the calc I have on hand is fairly limited.
Any help would be greatly appreciated. Or a point in the right direction.
Tnx