Skip to content

Commit f4952f0

Browse files
pstaabpdrgrice1
authored andcommitted
AnswerFormatHelp removal from the OPL
1 parent abe3e59 commit f4952f0

8,055 files changed

Lines changed: 45904 additions & 45906 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Contrib/AlfredUniv/AUCI/chapter5/lesson4/criticalpoint.pg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DESCRIPTION
2-
#
2+
#
33
# ENDDESCRIPTION
44

55
## DBsubject('Calculus')
@@ -14,15 +14,15 @@
1414
## Author('Darwyn Cook')
1515
## Institution('Alfred University')
1616

17-
DOCUMENT();
17+
DOCUMENT();
1818

1919
loadMacros(
2020
"PGstandard.pl",
2121
"MathObjects.pl",
22-
"AnswerFormatHelp.pl",
22+
2323
"PGcourse.pl"
2424
);
25-
25+
2626
TEXT(beginproblem()); # standard preamble to each problem.
2727

2828
$showPartialCorrectAnswers = 1;
@@ -39,7 +39,7 @@ BEGIN_TEXT
3939
If \(f(x) = $f\) then \(f^\prime(x) = \) \{ans_rule\}
4040
$BR
4141
The critical point(s) of \(f\) are \{ans_rule\}
42-
\{ AnswerFormatHelp("logarithms") \}
42+
\{ helpLink("logarithms") \}
4343
END_TEXT
4444
ANS($df->cmp() );
4545
ANS($cp->cmp() );

Contrib/AlfredUniv/AUCI/chapter5/lesson4/criticalpoint1pet.pg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DESCRIPTION
2-
#
2+
#
33
# ENDDESCRIPTION
44

55
## DBsubject('Calculus')
@@ -14,15 +14,15 @@
1414
## Author('Darwyn Cook')
1515
## Institution('Alfred University')
1616

17-
DOCUMENT();
17+
DOCUMENT();
1818

1919
loadMacros(
2020
"PGstandard.pl",
2121
"MathObjects.pl",
22-
"AnswerFormatHelp.pl",
22+
2323
"PGcourse.pl"
2424
);
25-
25+
2626
TEXT(beginproblem()); # standard preamble to each problem.
2727

2828
$showPartialCorrectAnswers = 1;
@@ -38,7 +38,7 @@ $ext = Real("(e^($k*$cp)+$m)/e^$cp");
3838
Context()->texStrings;
3939
BEGIN_TEXT
4040
$BR
41-
Let \(\displaystyle f(x) = $f\).
41+
Let \(\displaystyle f(x) = $f\).
4242
$BR
4343
$BR
4444
(a) \(f^\prime(x) = \) \{ans_rule\}.

Contrib/AlfredUniv/diffeq/laplace/operationalproperties/DEdirac.pg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ loadMacros(
2222
"PGstandard.pl",
2323
"MathObjects.pl",
2424
"parserFunction.pl",
25-
"AnswerFormatHelp.pl",
25+
2626
"PGcourse.pl"
2727
);
2828

@@ -55,7 +55,7 @@ $y = Formula("(u(t-k*pi)*sin($b*(t-k*pi))+$a*sin($b*t))/$b");
5555

5656
Context()->texStrings;
5757
BEGIN_TEXT
58-
Solve the IVP \[\frac{d^2y}{dt^2}+$a0 y=\delta(t-k\pi), y(0) = 0,y^\prime(0)=$a\].
58+
Solve the IVP \[\frac{d^2y}{dt^2}+$a0 y=\delta(t-k\pi), y(0) = 0,y^\prime(0)=$a\].
5959
$BR
6060
The Laplace transform of the solutions is L{y} = \{$Y->ans_rule(30)\}
6161
$BR

Contrib/BCIT/OpenHomeworkSystemsProjectBCcampus/BCIT_chyn.pg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DESCRIPTION
2-
# WeBWorK problem written by Stefan Lukits
2+
# WeBWorK problem written by Stefan Lukits
33
# <slukits(at)bcit(dot)ca>
44
# DBsubject(Calculus - single variable)
55
# DBchapter(Applications of differentiation)
@@ -16,7 +16,7 @@ loadMacros(
1616
"PGchoicemacros.pl",
1717
"MathObjects.pl",
1818
"PGgraphmacros.pl",
19-
"AnswerFormatHelp.pl",
19+
2020
"unionTables.pl",
2121
"PGcourse.pl",
2222
"RserveClient.pl"
@@ -57,10 +57,10 @@ add_functions($gr,"x-$c-$k*sin(x) for x in <$bestnummo,$bestnumpo> using color:b
5757
TEXT(beginproblem());
5858
Context()->texStrings;
5959
BEGIN_TEXT
60-
To calculate a planet's space coordinates, we have to solve equations like
60+
To calculate a planet's space coordinates, we have to solve equations like
6161
\[ x=$c+$k\sin{}x \]
6262
$BCENTER
63-
\{ image( insertGraph($gr),
63+
\{ image( insertGraph($gr),
6464
width=>200,height=>200,tex_size=>800 ) \}
6565
$BR
6666
(Click on graph to enlarge)

Contrib/BCIT/OpenHomeworkSystemsProjectBCcampus/BCIT_ehqw.pg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
###########################
1515
# Initialization
1616

17-
DOCUMENT();
17+
DOCUMENT();
1818

1919
loadMacros(
2020
"PGstandard.pl",
2121
"MathObjects.pl",
2222
"PGgraphmacros.pl",
23-
"AnswerFormatHelp.pl",
23+
2424
"unionTables.pl",
2525
"PGcourse.pl"
2626
);
@@ -75,7 +75,7 @@ $gr->new_color("lightred", 255,127,127);
7575
$gr->new_color("darkred", 255, 55, 55);
7676
$gr->new_color("lightorange", 255,204,127);
7777
$gr->new_color("darkorange", 255, 153, 0);
78-
$gr->new_color("lightgreen", 187, 255, 153);
78+
$gr->new_color("lightgreen", 187, 255, 153);
7979
$gr->new_color("darkgreen", 0, 208, 0);
8080

8181
$x = Formula("sqrt($b)*cos(t)");
@@ -97,7 +97,7 @@ $w->color('darkorange');
9797
$w->weight('2');
9898

9999
##########################
100-
# Main Text
100+
# Main Text
101101

102102
Context()->texStrings;
103103
BEGIN_TEXT
@@ -116,7 +116,7 @@ $BR
116116
$BR
117117
\(y_{1}\)=\{ans_rule(20)\}
118118
$BR
119-
$BCENTER \{image(insertGraph($gr),width=>300,height=>300 )\}
119+
$BCENTER \{image(insertGraph($gr),width=>300,height=>300 )\}
120120
$BR
121121
Graph of \( x^{2}+$a y^{2} = $b \) and \( $c y-$d x^{2} = -$e\)$ECENTER
122122
END_TEXT

Contrib/BentleyUniversity/MathematicsOfComputerGraphics/setMoCG-Ch5/5-1-ConvertToHomogeneous.pg

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ loadMacros(
2121
"MathObjects.pl",
2222
"PGML.pl",
2323
"PGcourse.pl",
24-
"AnswerFormatHelp.pl",
24+
2525
);
2626

2727
Context("Matrix");
@@ -39,23 +39,23 @@ $showPartialCorrectAnswers = 1;
3939
non_zero_random(-10,10),
4040
);
4141
$ans1 = Matrix( [
42-
[ $r[0] ],
42+
[ $r[0] ],
4343
[ $r[1] ],
4444
[ 1 ]
4545
] );
4646
$ans2 = Matrix( [
47-
[ $r[2] ],
47+
[ $r[2] ],
4848
[ $r[3] ],
4949
[ 0 ]
5050
] );
5151
$ans3 = Matrix( [
52-
[ $r[4] ],
52+
[ $r[4] ],
5353
[ $r[5] ],
5454
[ $r[6] ],
5555
[ 1 ]
5656
] );
5757
$ans4 = Matrix( [
58-
[ $r[7] ],
58+
[ $r[7] ],
5959
[ $r[8] ],
6060
[ $r[9] ],
6161
[ 0 ]
@@ -65,19 +65,19 @@ TEXT(beginproblem());
6565
BEGIN_PGML
6666
Express [`([$r[0]],[$r[1]])`] in homogeneous coordinates.
6767

68-
[_____]*{$ans1} [@ AnswerFormatHelp("matrices") @]*
68+
[_____]*{$ans1} [@ helpLink("matrices") @]*
6969

7070
Express [`\langle [$r[2]],[$r[3]] \rangle`] in homogeneous coordinates.
7171

72-
[_____]*{$ans2} [@ AnswerFormatHelp("matrices") @]*
72+
[_____]*{$ans2} [@ helpLink("matrices") @]*
7373

7474
Express [`([$r[4]],[$r[5]],[$r[6]])`] in homogeneous coordinates.
7575

76-
[_____]*{$ans3} [@ AnswerFormatHelp("matrices") @]*
76+
[_____]*{$ans3} [@ helpLink("matrices") @]*
7777

7878
Express [`\langle [$r[7]],[$r[8]],[$r[9]] \rangle`] in homogeneous coordinates.
7979

80-
[_____]*{$ans4} [@ AnswerFormatHelp("matrices") @]*
80+
[_____]*{$ans4} [@ helpLink("matrices") @]*
8181
END_PGML
8282

8383
BEGIN_PGML_SOLUTION

Contrib/BentleyUniversity/MathematicsOfComputerGraphics/setMoCG-Ch5/5-10-MatrixMultiplicationWithVariables.pg

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ loadMacros(
2121
"MathObjects.pl",
2222
"PGML.pl",
2323
"PGcourse.pl",
24-
"AnswerFormatHelp.pl",
24+
2525
"PGessaymacros.pl",
2626
);
2727

@@ -38,19 +38,19 @@ $showPartialCorrectAnswers = 1;
3838
$L3 = Matrix( [
3939
[ Formula( list_random( 0, 1, "a", "b", "c" ) ),
4040
Formula( list_random( 0, 1, "a", "b", "c" ) ),
41-
Formula( list_random( 0, 1, "a", "b", "c" ) ) ],
41+
Formula( list_random( 0, 1, "a", "b", "c" ) ) ],
4242
[ Formula( list_random( "a", "b", "c" ) ),
4343
Formula( list_random( "a", "b", "c" ) ),
44-
Formula( list_random( 0, 1, "a", "b", "c" ) ) ],
44+
Formula( list_random( 0, 1, "a", "b", "c" ) ) ],
4545
[ 0, 0, 1 ]
4646
] );
4747
$R3 = Matrix( [
4848
[ Formula( list_random( 0, 1, "d", "e" ) ),
4949
Formula( list_random( 0, 1, "d", "e" ) ),
50-
Formula( list_random( 0, 1, "d", "e" ) ) ],
50+
Formula( list_random( 0, 1, "d", "e" ) ) ],
5151
[ Formula( list_random( "d", "e" ) ),
5252
Formula( list_random( 0, 1 ) ),
53-
Formula( list_random( 0, 1 ) ) ],
53+
Formula( list_random( 0, 1 ) ) ],
5454
[ 0, 0, 1 ]
5555
] );
5656
$L4 = Matrix( [
@@ -79,11 +79,11 @@ TEXT(beginproblem());
7979
BEGIN_PGML
8080
Compute the results of each matrix multiplication shown below.
8181

82-
[`[$L3][$R3]=`][_____]*{$L3*$R3} [@ AnswerFormatHelp("matrices") @]*
82+
[`[$L3][$R3]=`][_____]*{$L3*$R3} [@ helpLink("matrices") @]*
8383

84-
[`[$L4][$R4]=`][_____]*{$L4*$R4} [@ AnswerFormatHelp("matrices") @]*
84+
[`[$L4][$R4]=`][_____]*{$L4*$R4} [@ helpLink("matrices") @]*
8585

86-
[`[$Lv][$Rv]=`][_____]*{$Lv*$Rv} [@ AnswerFormatHelp("matrices") @]*
86+
[`[$Lv][$Rv]=`][_____]*{$Lv*$Rv} [@ helpLink("matrices") @]*
8787
END_PGML
8888

8989
BEGIN_PGML_SOLUTION

Contrib/BentleyUniversity/MathematicsOfComputerGraphics/setMoCG-Ch5/5-11-ApplyAffineTransformationMatrices.pg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ loadMacros(
2121
"MathObjects.pl",
2222
"PGML.pl",
2323
"PGcourse.pl",
24-
"AnswerFormatHelp.pl",
24+
2525
"PGessaymacros.pl",
2626
);
2727

@@ -68,7 +68,7 @@ Then as a single matrix times the column vector, with the final answer:
6868
[_____]*{$T*$F}
6969
[_____]*{$p1}
7070
=
71-
[_____]*{$T*$F*$p1} [@ AnswerFormatHelp("matrices") @]*
71+
[_____]*{$T*$F*$p1} [@ helpLink("matrices") @]*
7272

7373
-----
7474

@@ -85,7 +85,7 @@ Then as a single matrix times the column vector, with the final answer:
8585
[_____]*{$S*$R}
8686
[_____]*{$p2}
8787
=
88-
[_____]*{$S*$R*$p2} [@ AnswerFormatHelp("matrices") @]*
88+
[_____]*{$S*$R*$p2} [@ helpLink("matrices") @]*
8989

9090
-----
9191

@@ -103,7 +103,7 @@ Then as a single matrix times the column vector, with the final answer:
103103
[_____]*{$F*$R*$F}
104104
[_____]*{$p3}
105105
=
106-
[_____]*{$FRF*$p3} [@ AnswerFormatHelp("matrices") @]*
106+
[_____]*{$FRF*$p3} [@ helpLink("matrices") @]*
107107
END_PGML
108108

109109
BEGIN_PGML_SOLUTION

Contrib/BentleyUniversity/MathematicsOfComputerGraphics/setMoCG-Ch5/5-12-ApplyTransformationMatrices3D.pg

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,31 @@ loadMacros(
2121
"MathObjects.pl",
2222
"PGML.pl",
2323
"PGcourse.pl",
24-
"AnswerFormatHelp.pl",
24+
2525
);
2626

2727
Context("Matrix");
2828
$showPartialCorrectAnswers = 1;
2929
$M1 = Matrix( [
30-
[ non_zero_random(-5,5), 0, non_zero_random(-5,5), 0 ],
30+
[ non_zero_random(-5,5), 0, non_zero_random(-5,5), 0 ],
3131
[ 0, non_zero_random(-5,5), non_zero_random(-5,5), non_zero_random(-5,5) ],
32-
[ 0, non_zero_random(-5,5), 0, non_zero_random(-5,5) ],
32+
[ 0, non_zero_random(-5,5), 0, non_zero_random(-5,5) ],
3333
[ 0, 0, 0, 1 ]
3434
] );
3535
$CV1 = Matrix( [ [ random(1,9) ], [ random(1,9) ], [ random(1,9) ], [ 1 ] ] );
3636
$M2 = Matrix( [
3737
[ 0,
3838
non_zero_random(-1,10,0.01),
3939
non_zero_random(-1,10,0.01),
40-
non_zero_random(-1,10,0.01) ],
40+
non_zero_random(-1,10,0.01) ],
4141
[ non_zero_random(-1,10,0.01),
4242
0,
4343
non_zero_random(-1,10,0.01),
44-
non_zero_random(-1,10,0.01) ],
44+
non_zero_random(-1,10,0.01) ],
4545
[ non_zero_random(-1,10,0.01),
4646
0,
4747
non_zero_random(-1,10,0.01),
48-
0 ],
48+
0 ],
4949
[ 0, 0, 0, 1 ]
5050
] );
5151
$CV2 = Matrix( [ [ non_zero_random(-1,10,0.01) ],
@@ -57,9 +57,9 @@ TEXT(beginproblem());
5757
BEGIN_PGML
5858
Perform the following applications of an affine transformation matrix to a column vector.
5959

60-
[`[$M1][$CV1]=`][_____]*{$M1*$CV1} [@ AnswerFormatHelp("matrices") @]*
60+
[`[$M1][$CV1]=`][_____]*{$M1*$CV1} [@ helpLink("matrices") @]*
6161

62-
[`[$M2][$CV2]=`][_____]*{$M2*$CV2} [@ AnswerFormatHelp("matrices") @]*
62+
[`[$M2][$CV2]=`][_____]*{$M2*$CV2} [@ helpLink("matrices") @]*
6363
END_PGML
6464

6565
BEGIN_PGML_SOLUTION

Contrib/BentleyUniversity/MathematicsOfComputerGraphics/setMoCG-Ch5/5-14-TranformationsIntoMatrices.pg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ loadMacros(
2121
"MathObjects.pl",
2222
"PGML.pl",
2323
"PGcourse.pl",
24-
"AnswerFormatHelp.pl",
24+
2525
);
2626

2727
Context("Matrix");

0 commit comments

Comments
 (0)