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

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

 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

 > $\mathrm{with}\left(\mathrm{Grading}\right):$
 > $\mathrm{FactorFeedback}\left(\left[2{x}^{2}+9x+10,x=\frac{-b+&+-\left(\mathrm{sqrt}\left({b}^{2}+\left(-4ac\right)\right)\right)}{2a},x\left[1\right]=\frac{-9+\mathrm{sqrt}\left({9}^{2}+\left(-4\cdot 2\cdot 10\right)\right)}{2\cdot 2},x\left[1\right]=\frac{-9+\mathrm{sqrt}\left(1\right)}{2\cdot 2},x\left[1\right]=\frac{-8}{4},x\left[1\right]=-2,x\left[2\right]=\frac{-9+\left(-\mathrm{sqrt}\left({9}^{2}+\left(-4\cdot 2\cdot 10\right)\right)\right)}{2\cdot 2},x\left[2\right]=\frac{-9+\left(-\mathrm{sqrt}\left(1\right)\right)}{2\cdot 2},x\left[2\right]=\frac{-10}{4},x\left[2\right]=-\frac{5}{2},\left(x+2\right)\left(x+\frac{5}{2}\right)=\left(x+2\right)\left(2x+5\right)\right]\right)$
 $\left[{""}{,}{"Quadratic Formula"}{,}{"Ok"}{,}{"Ok"}{,}{"Ok"}{,}{"Ok"}{,}{"Ok"}{,}{"Ok"}{,}{"Ok"}{,}{"Ok"}{,}{"Good job, you have found the correct factorization"}{,}{""}\right]$ (1)

Compatibility

 • The Grading:-FactorFeedback command was introduced in Maple 2024.
 • For more information on Maple 2024 changes, see Updates in Maple 2024.