quad: Solve quadratic formula

View source: R/utilities.R

quadR Documentation

Solve quadratic formula

Description

Given an expression a*x^2 + b*x + c = 0, solve for x.

Usage

quad(a, b, c)

Arguments

a

Coefficient on second-order term.

b

Coefficient on first-order term.

c

Coefficient on the constant.

Value

Zeroes of the function a*x^2 + b*x + c = 0.


josherrickson/epb documentation built on July 6, 2023, 9:12 p.m.