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

Online Help

All Products    Maple    MapleSim


Grading

  

FactorFeedback

  

generate feedback for a step-by-step solution to a factoring problem

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

FactorFeedback(steps,options)

Parameters

steps

-

solution steps {canvas-string,table,rtable,list}

options

-

(optional) equation(s) of the form option = value 

Options

• 

given = list of step expressions prepending the solution

• 

group = integer or set of integers, restrict the elements to inspect to the specified group(s)

• 

filter = set(equation), input element filters passed to GetMath

• 

output = default, list or canvaslist, specify an output format

• 

cursorgroup = truefalse, when true consider only elements in the group containing the cursor (Maple Learn only)

Description

• 

The FactorFeedback analyzes a step-by-step solution to a factoring problem and provides feedback for each step of the solution.  The expression to be factored should be provided as the first step in the solution, or the first item in the optional given list.  If the first expression is not suitable for a factoring problem, the other solution steps will be scanned and the first suitable expression taken as the one to be factored.

• 

The given argument is a list of expressions that will be prepended to the steps input.  When part of an interactive canvas-based application this parameter can used behind the scenes to ensure the correct expression is listed first.

• 

When the optional argument, group=1, or group={2,3} is specified in conjunction with a canvas-based steps input, only the specified elements in the given group or groups will be considered when generating feedback.

• 

The output option can be set to default, list, or canvaslist.  When steps is a canvas, the default action is to generate a Script, which will be applied to the active Canvas.  Otherwise, when steps is an Array or list, the default output is a list of strings.

  

Use output = list to force list-of-strings output even when steps is a canvas.

  

Use output = canvaslist to return a list of [string,record] pairs, when steps is a canvas. This returns a list of lists, where the [i,1] element is a feedback comment string, and the [i,2] element is the canvas record-object that identifies the expression for which the feedback applies.  The record-object can be inspected as per any object returned by GetMath, or it can be passed as an argument to some Script commands like Annotate.

• 

The filter option applies to canvas-based input, and will cause the canvas elements to be pruned if they match the given specified properties.  For example, 'filter'={'readonly'=true} will prune out all math containers that have their readonly property set to true.

Examples

withGrading:

FactorFeedback2x2+9x+10,x=b+&+−sqrtb2+4ac2a,x1=9+sqrt92+421022,x1=9+sqrt122,x1=84,x1=2,x2=9+sqrt92+421022,x2=9+sqrt122,x2=104,x2=52,x+2x+52=x+22x+5

,Quadratic Formula,Ok,Ok,Ok,Ok,Ok,Ok,Ok,Ok,Good job, you have found the correct factorization,

(1)

Compatibility

• 

The Grading:-FactorFeedback command was introduced in Maple 2024.

• 

For more information on Maple 2024 changes, see Updates in Maple 2024.

See Also

DocumentTools:-Canvas:-NewCanvas

DocumentTools:-Canvas:-ShareCanvas

Grading

Grading:-SimplifyFeedback

Grading:-SolveFeedback

Grading:-SolvePractice