[system] / trunk / webwork2 / conf / snippets / setHeader.pg Repository:
ViewVC logotype

Annotation of /trunk/webwork2/conf/snippets/setHeader.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1830 - (view) (download)

1 : sh002i 1663 ################################################################################
2 :     # WeBWorK Online Homework Delivery System
3 :     # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4 : gage 1830 # $CVSHeader: webwork-modperl/conf/snippets/setHeader.pg,v 1.4 2004/02/12 14:33:07 gage Exp $
5 : sh002i 1663 #
6 :     # This program is free software; you can redistribute it and/or modify it under
7 :     # the terms of either: (a) the GNU General Public License as published by the
8 :     # Free Software Foundation; either version 2, or (at your option) any later
9 :     # version, or (b) the "Artistic License" which comes with this package.
10 :     #
11 :     # This program is distributed in the hope that it will be useful, but WITHOUT
12 :     # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 :     # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14 :     # Artistic License for more details.
15 :     ################################################################################
16 : gage 1349
17 :     DOCUMENT();
18 :    
19 : gage 1793 # Load whatever macros you need for the problem
20 :     loadMacros("PG.pl",
21 :     "PGbasicmacros.pl",
22 :     "PGchoicemacros.pl",
23 :     "PGanswermacros.pl",
24 :     "PGauxiliaryFunctions.pl",
25 :     "PGgraphmacros.pl",
26 :     );
27 :    
28 :     ## Do NOT show partial correct answers
29 :     $showPartialCorrectAnswers = 0;
30 : gage 1349
31 :    
32 :    
33 :     BEGIN_TEXT
34 : gage 1793 $HR
35 :     This file is snippets/setHeader.pg. You can use this as a template for creating your
36 :     own comment files for each set. Copy this file into your templates directory and assign
37 :     the copy as the setHeader file for a particular set. You will be able to edit the copy.
38 :     $HR
39 : gage 1349 END_TEXT
40 :     BEGIN_TEXT
41 :    
42 :    
43 : gage 1830 Give 4 or 5 significant digits for (floating point) numerical answers.
44 :     For most problems when entering numerical answers, you can if you wish
45 :     enter elementary expressions such as \( 2\wedge3 \) instead of 8, \( sin(3*pi/2)
46 :     \)instead
47 :     of -1, \( e\wedge (ln(2)) \) instead of 2,
48 :     \( (2+tan(3))*(4-sin(5))\wedge6-7/8 \) instead of 27620.3413, etc.
49 :    
50 :     Here's the
51 :     \{
52 :     htmlLink(qq!http://webwork.math.rochester.edu/webwork_system_html/docs/docs/pglanguage/availablefunctions.html!,"list of the functions") \}
53 : gage 1793 which WeBWorK understands.
54 : gage 1349
55 :     $PAR
56 :     END_TEXT
57 :    
58 : gage 1793 ENDDOCUMENT();

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9