Grading
IsQuadraticFormula
check if an expression matches the quadratic formula
Calling Sequence
Parameters
Description
Examples
Compatibility
IsQuadraticFormula(expr)
expr
-
any expression
The IsQuadraticFormula command returns true when the input expr matches the quadratic formula.
The quadratic formula can be written in many subtly different ways, including use of &+- as opposed to ±, and use of different variable names. This command helps to identify input steps that match a declared unevaluated quadratic formula with symbols for a, b, and c.
This command is used by Grading:-SolveFeedback to identify a step in a solution input that matches the quadratic formula.
with⁡Grading:
IsQuadraticFormula⁡−'b' ± 'b'2−4⁢'a'⁢'c'2⁢'a'
true
IsQuadraticFormula⁡−'B' ± 'B'2−4⁢'A'⁢'c'2⁢'A'
The Grading:-IsQuadraticFormula command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
DocumentTools:-Canvas:-NewCanvas
DocumentTools:-Canvas:-ShareCanvas
Grading:-SolveFeedback
Download Help Document