qe: Solutions to the quadratic equation

View source: R/qe.r

qeR Documentation

Solutions to the quadratic equation

Description

Some extra effort is dedicated to making the solution stable even when a is close to zero.

Usage

qe(a, b, c)

Arguments

a, b, c

Coefficients: ax^2 + bx + c = 0

Examples

qe(1, 3, -4)  # -4, 1
qe(0, 1, 2)   # Just -2


pbreheny/breheny documentation built on Sept. 5, 2024, 6:45 p.m.