Grading:GradePlot

Calling Sequence


GradePlot(ref, response, plotview)


Parameters


ref



an object or a list/rtable of objects representing the

response



an object or a list/table of objects representing the

plotview



[range, range] ; the plot window





Options


•

gradebetweenpoints : boolean ; if true (default), then grade the curve between the userspecified points only instead of over the entire plot view

•

tolerance : numeric value between 0. and 1. ; relative tolerance



Description


•

Grade the functions specified in parameter ref, using the candidate user responses in parameter response. Note that the order of the items in response do not have to match the order of the items in ref.

•

Each element in ref or response is one of the following objects: LinearFunction, QuadraticFunction, AbsoluteValueFunction, GridPoint, ExponentialFunction, LogarithmicFunction, Inequalities, Segment.

•

The gradebetweenpoints option, if set to true, causes the response curve, if given as a set of points, to be checked over the xrange of its points instead of over the entire plot range. This is particularly useful in cases where very small errors in the response points could lead to large errors in the curve outside the region of interest. However, if the range of the points is extremely small, it is possible for GradePlot to grade a curve as correct even if it looks incorrect outside the range of the points. It is recommended that response points covering a sufficiently large xrange be provided or the gradebetweenpoints option be set to false if this problem is a concern.

•

The tolerance parameter determines how close the two curves must be to one another for the response to be deemed correct. The closer the value is to zero, the more accurate the response must be to be marked as correct.



Examples


>


Functions can be constructed in different ways.
>


 (1) 
>


 (2) 
>


 (3) 
>


 (4) 
>


 (5) 
>


 (6) 
>


 (7) 
Lists of functions can be graded. Order does not matter.
>


 (8) 
Some functions can have restricted domains.
>


 (9) 
>


 (10) 


Download Help Document
Was this information helpful?