0

How to calculate fractional powers of negative numbers in Ruby?

I want to expand my previous question and ask about calculating any fractional powers of negative numbers? I mean only real roots. What rules or techniques are used to solve this problem? https://www.sololearn.com/discuss/1191119/?ref=app

7th Apr 2018, 1:46 PM
meloman K_Y
meloman K_Y - avatar
1 Odpowiedź
0
Use this code Gets/Gets = x0 Gets = a Gets = b (a+b) = e Puts e
3rd Nov 2019, 2:26 PM
Joshua