quadrtc: Quadratic Formula

Description Usage Arguments Details Value Examples

Description

Solves for x for a quadratic equation: expression(ax^2 + bx + c ) Where x represents an unknown While a, b, and c are constants with a not equal to 0

Usage

1
quadrtc(a = 0, b = 0, c = 0)

Arguments

a

of expression(ax^2 + bx + c )

b

of expression(ax^2 + bx + c )

c

of expression(ax^2 + bx + c )

Details

Verify that the quadratic formula satisfies the quadratic equation. The root of the quadratic equation is returned. For more information about the quadratic formula look here https://en.wikipedia.org/wiki/Quadratic_formula

Value

The root value(s) of x based on a,b,c

Examples

1
2
3
quadrtc(2, -4, 2)
quadrtc(2, -3, 1)
quadrtc(-1, 0, -2)

farihakhan/powersPackage documentation built on May 12, 2019, 8:45 a.m.