IsQuadraticFormula - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Grading : IsQuadraticFormula

Grading

  

IsQuadraticFormula

  

check if an expression matches the quadratic formula

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsQuadraticFormula(expr)

Parameters

expr

-

any expression

Description

• 

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.

Examples

withGrading:

IsQuadraticFormula'b' ± 'b'24'a''c'2'a'

true

(1)

IsQuadraticFormula'B' ± 'B'24'A''c'2'A'

true

(2)

Compatibility

• 

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

Grading:-SolveFeedback