Jump to content

Roots of a quadratic function: Difference between revisions

m
Line 1,849:
Using the builtin '''polyroot''' function (note the order of coefficients is reversed):
 
<lang R>polyroot(c(-2i, 0, 1))
[1] -1+1i - 1-1i
 
polyroot(c(1, -1e9, 1))
1,336

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.