R (programming language)/Tutorials/Algebra

To solve ${\displaystyle ax^{k}+bx^{k-1}+\cdots +n=0}$, where ${\displaystyle a,b,\dots ,n}$ are given integers, use the command
```polyroot(c(a,b,...,n))