NAME

VectorListCheckers.pl

SYNOPSIS

Provides subroutines for answer checking lists MathObjects vectors with real entries.

DESCRIPTION

First, load the VectorListCheckers.pl macro file.

loadMacros("PGstandard.pl","MathObjects.pl","VectorListCheckers.pl");

For a MathObject list of MathObject vectors, the way to use the answer checkers is the same as using a custom answer checker inside of cmp(checker=<gt~~&name_of_answer_checker_subroutine)> such as

ANS( List(ColumnVector(1,0,0),ColumnVector(0,1,0))-<gtcmp( checker=<gt>~~&basis_checker_list_of_vectors ) );>
ANS( Vector("<1,0,0 + s * <0,1,0> + t * <0,0,1>")-<gt>cmp( checker=<gt>~~&affine_subspace_checker_vectors ) );>

The "list of vectors" at the end of the checker name refers to the fact that the student answer is a list of vectors.

Here is an example of how to use these answer checkers.

The answer evaluation section of the PG file is totally standard.

The parametric_plane_checker_columns should be used for solutions to non-homogeneous systems of linear equations for which the solution is essentially a point plus the span of several linearly independent vectors. When using the parametric plane checker, the first vector input always serves as a point on the hyperplane (i.e., the first vector input is always a particular solution), while the remaining vectors are a basis for the hyperplane (i.e., they span the homogeneous solution set).

AUTHORS

Paul Pearson, Hope College, Department of Mathematics