[R] Solving quadratic equation in R

Paul Smith phhs80 at gmail.com
Fri Jul 27 12:30:35 CEST 2012

On Thu, Jul 26, 2012 at 9:48 PM, Diviya Smith <diviya.smith at gmail.com> wrote:
> Hi there,
> I would like to solve a simple equation in R
> a^2 - a = 8.313
> There is no real solution to this problem but I would like to get an
> approximate numerical solution. Can someone suggest how I can set this up?

Since your equation is a quadratic one, why do not you use the formula
to obtain its roots?

You can find the formula at:



More information about the R-help mailing list