<-- Previous || Up || Next -->

Quadratic Expr Function
Math Complex Class

Public Function QuadraticExpr( _
      ByVal vA As Variant _
    , ByVal vB As Variant _
    , ByVal vC As Variant _
    , ByVal vX As Variant _
    ) As Variant

"Evaluate The Quadratic Expression"
Evaluates the expression A X^2 + B X + C where A, B, C, and X are real and/or complex numbers.

Examples:
    QuadraticExpr(-1, -2, -3, 3) = -18
    QuadraticExpr(-1, -2, -3, 0) = -3
    QuadraticExpr(2, -3, 4, 6) = 58
    QuadraticExpr("-2|-1.5", -3, 4, 6) = "-86|-54"
See also:
    QuadraticRoot Function
    CubicExpr Function
vA, vB, vC, and vX: The values that are substituted into the quadratic expression above. Function returns Null if any of the arguments vA, vB, vC, or vX are Null or cannot be fixed up to real or complex numbers (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.