Jump to content

R (programming language)/Tutorials/Algebra

From Wikiversity

Solving polynomial equations

[edit | edit source]

To solve axk+bxk−1+⋯+n=0, where a,b,…,n are given integers, use the command

polyroot(c(a,b,...,n))