So, the R expression and its output is as follows:
> (4-7)^1.3 [1] NaN
Any ideas how to solve this in R?
The answer is a complex number, so you need to give it a complex argument:
> (4-7+0i)^1.3 [1] -2.451751-3.374545i
but remember this is only one root...
2.1m questions
2.1m answers
60 comments
57.0k users