R (programming language)/Tutorials/Algebra

From testwiki
Jump to navigation Jump to search

Solving polynomial equations

To solve axk+bxk1++n=0, where a,b,,n are given integers, use the command

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