Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Contrib/METU-NCC/Applied_Math/fourier/Omega.pg
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ $wj = Complex(cos(2*pi*$j/$N),-sin(2*pi*$j/$N));
Context("Numeric");
Context()->variables->are('i'=>"Real");
Context()->functions->disable('Trig');
Context()->flags->set(
tolerance => 0.001,
tolType => "absolute",
);

$w = Formula($w->string );
$wbar = Formula($wbar->string);
Expand Down
10 changes: 5 additions & 5 deletions Contrib/METU-NCC/Applied_Math/trusses/truss-2node-4bar.pg
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

DOCUMENT() ;
loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"parserVectorUtils.pl",
"PGcourse.pl"
);
"PGstandard.pl",
"MathObjects.pl",
"parserVectorUtils.pl",
"PGcourse.pl"
) ;
TEXT(beginproblem());

#######################################
Expand Down
17 changes: 8 additions & 9 deletions Contrib/METU-NCC/Applied_Math/trusses/truss-3node-4bar.pg
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@

DOCUMENT() ;
loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"PGchoicemacros.pl",
"parserPopUp.pl",
"unionTables.pl",
"MatrixCheckers.pl",
"PGcourse.pl"
);
"PGstandard.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"PGchoicemacros.pl",
"parserPopUp.pl",
"unionTables.pl",
"MatrixCheckers.pl"
) ;
TEXT(beginproblem());

#######################################
Expand Down
19 changes: 9 additions & 10 deletions Contrib/METU-NCC/Applied_Math/trusses/truss-3node-4bar_diamond.pg
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@

DOCUMENT() ;
loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"PGchoicemacros.pl",
"parserPopUp.pl",
"unionTables.pl",
"MatrixCheckers.pl",
"PGmatrixmacros.pl",
"PGcourse.pl"
);
"PGstandard.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"PGchoicemacros.pl",
"parserPopUp.pl",
"unionTables.pl",
"MatrixCheckers.pl",
"PGmatrixmacros.pl"
) ;
TEXT(beginproblem());

#######################################
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/2x2-system-nonhomog-cx.pg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ loadMacros(
"MathObjects.pl",
"parserMultiAnswer.pl",
"answerHints.pl",
"PGcourse.pl"
);


Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/2x2-system-nonhomog-rep.pg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ loadMacros(
"MathObjects.pl",
"parserMultiAnswer.pl",
"answerHints.pl",
"PGcourse.pl"
);


Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/2x2-system-nonhomog.pg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ loadMacros(
"MathObjects.pl",
"parserMultiAnswer.pl",
"answerHints.pl",
"PGcourse.pl"
);


Expand Down
12 changes: 6 additions & 6 deletions Contrib/METU-NCC/Diff_Eq/2x2-system_soln-cx.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"unionTables.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"PGcourse.pl",
"unionTables.pl"
);

TEXT(beginproblem());
Expand Down
12 changes: 6 additions & 6 deletions Contrib/METU-NCC/Diff_Eq/2x2-system_soln-rep.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"unionTables.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"PGcourse.pl",
"unionTables.pl"
);

TEXT(beginproblem());
Expand Down
12 changes: 6 additions & 6 deletions Contrib/METU-NCC/Diff_Eq/2x2-system_soln.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"unionTables.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"PGcourse.pl",
"unionTables.pl"
);

TEXT(beginproblem());
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/3x3-system-convert.pg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ loadMacros(
"MathObjects.pl",
"parserMultiAnswer.pl",
"answerHints.pl",
"PGcourse.pl"
);

Context("Numeric");
Expand Down
11 changes: 5 additions & 6 deletions Contrib/METU-NCC/Diff_Eq/bvp-eigen.pg
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"answerHints.pl",
"unionLists.pl",
"PGchoicemacros.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"answerHints.pl",
"unionLists.pl",
"PGchoicemacros.pl",
);

TEXT(beginproblem());
Expand Down
15 changes: 7 additions & 8 deletions Contrib/METU-NCC/Diff_Eq/bvp.pg
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"answerHints.pl",
"parserMultiAnswer.pl",
"unionLists.pl",
"PGchoicemacros.pl",
"contextFraction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"answerHints.pl",
"parserMultiAnswer.pl",
"unionLists.pl",
"PGchoicemacros.pl",
"contextFraction.pl"
);

TEXT(beginproblem());
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/fourier-cos.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ loadMacros(
"PGgraphmacros.pl",
"answerHints.pl",
"unionLists.pl",
"PGcourse.pl"
);

TEXT(beginproblem());
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/fourier-sin.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ loadMacros(
"PGgraphmacros.pl",
"answerHints.pl",
"unionLists.pl",
"PGcourse.pl"
);

TEXT(beginproblem());
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/fourier-sin_cos.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ loadMacros(
"PGgraphmacros.pl",
"answerHints.pl",
"unionLists.pl",
"PGcourse.pl"
);

TEXT(beginproblem());
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/high-order-linear_1.pg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ loadMacros(
"PGmatrixmacros.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"PGcourse.pl"
);

#####################################
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/impulse-response.pg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ loadMacros(
"PGmatrixmacros.pl",
"parserMultiAnswer.pl",
"answerHints.pl",
"PGcourse.pl"
);


Expand Down
13 changes: 6 additions & 7 deletions Contrib/METU-NCC/Diff_Eq/laplace-inv_I.pg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl"
);

TEXT(beginproblem());
Expand Down
13 changes: 6 additions & 7 deletions Contrib/METU-NCC/Diff_Eq/laplace-inv_II.pg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl"
);

TEXT(beginproblem());
Expand Down
13 changes: 6 additions & 7 deletions Contrib/METU-NCC/Diff_Eq/laplace-inv_III.pg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl"
);

TEXT(beginproblem());
Expand Down
13 changes: 6 additions & 7 deletions Contrib/METU-NCC/Diff_Eq/laplace-inv_random.pg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl"
);

TEXT(beginproblem());
Expand Down
13 changes: 6 additions & 7 deletions Contrib/METU-NCC/Diff_Eq/laplace-step_exp_t.pg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl"
);

TEXT(beginproblem());
Expand Down
13 changes: 6 additions & 7 deletions Contrib/METU-NCC/Diff_Eq/laplace-step_exp_trig.pg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl",
"PGcourse.pl"
"PGstandard.pl",
"MathObjects.pl",
"PGunion.pl",
"answerHints.pl",
"parserAssignment.pl",
"parserFunction.pl"
);

TEXT(beginproblem());
Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/linear-nonhomog.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ loadMacros(
"parserMultiAnswer.pl",
"answerHints.pl",
"extraAnswerEvaluators.pl", # needed for equation_cmp
"PGcourse.pl"
);


Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/linear-nonhomog_euler.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ loadMacros(
"parserMultiAnswer.pl",
"answerHints.pl",
"extraAnswerEvaluators.pl", # needed for equation_cmp
"PGcourse.pl"
);


Expand Down
1 change: 0 additions & 1 deletion Contrib/METU-NCC/Diff_Eq/linear-nonhomog_undet-coef.pg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ loadMacros(
"parserMultiAnswer.pl",
"answerHints.pl",
"extraAnswerEvaluators.pl", # needed for equation_cmp
"PGcourse.pl"
);


Expand Down
Loading