# Webwork Sample 1

## 1. Tagging

 # DESCRIPTION # A simple sample problem that asks students to # find the sine of a angle associated with a # special right triangle's angle. # ENDDESCRIPTION ## DBsubject('Trig/Precalculus') ## DBchapter('Chapter ') ## DBsection('Section ') ## KEYWORDS('algebra') ## TitleText1('') ## EditionText1('') ## AuthorText1('') ## Section1('') ## Problem1('') ## Author('Chris Thiel') ## Institution('SFHS') There is an on-line list of current chapter and section names and a similar list of keywords. The list of keywords should be comma separated and quoted (e.g., KEYWORDS('calculus','derivatives')).

## 2. Init

 DOCUMENT(); loadMacros( "PGstandard.pl", "MathObjects.pl", "parserFunction.pl", ); This is the initialization section of the problem. The first executed line of the problem must be the DOCUMENT(); command. Note that every command must end with a semicolon. The loadMacros command loads information that works behind the scenes.