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...
1.4m articles
1.4m replys
5 comments
57.0k users