Forum archive 2000-2006

Andrew L Vogel - pink page probability problems

Andrew L Vogel - pink page probability problems

by Arnold Pizer -
Number of replies: 0
inactiveTopicpink page probability problems topic started 1/6/2004; 8:03:27 AM
last post 1/12/2004; 8:07:19 AM
userAndrew L Vogel - pink page probability problems  blueArrow
1/6/2004; 8:03:27 AM (reads: 1526, responses: 2)

Hi all,

For the first time here at SU someone wants to a few probability problem sets.  They built the set setProbability10NormalDist

without any editing, just to see what problems exist

 Below is the warning printout at the bottom of the page for ur_pb_10_1.pg

A similar (?) warning appears for problems 1,2,3,6,8,9,10,11,13,15.

Before I go hunting, is this an already fixed problem?  We're running webwork 1.9 (it worked well in caclulus 1-3 last fall, and I made no changes to the installation)

 

Problem Set Version Number: 955023
Current time: 1/6/04 at 7:41 AM (reload page to update time)

Compiler warnings:

* Odd number of elements in hash assignment at (eval 159) line 446.
##More details:
-------- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 27
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* This option |8| is not recognized in this subroutine
HASH(0x8aeff24)
8 =>  
at (eval 141) line 3811.
##More details:
-------- PG_priv::set_default_options called at (eval 159) line 447
---- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 27
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* Odd number of elements in hash assignment at (eval 159) line 446.
##More details:
-------- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 28
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* This option |8| is not recognized in this subroutine
HASH(0x8aeff24)
8 =>  
at (eval 141) line 3811.
##More details:
-------- PG_priv::set_default_options called at (eval 159) line 447
---- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 28
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* Odd number of elements in hash assignment at (eval 159) line 446.
##More details:
-------- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 29
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* This option |8| is not recognized in this subroutine
HASH(0x8aeff24)
8 =>  
at (eval 141) line 3811.
##More details:
-------- PG_priv::set_default_options called at (eval 159) line 447
---- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 29
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* Odd number of elements in hash assignment at (eval 159) line 446.
##More details:
-------- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 30
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

* This option |8| is not recognized in this subroutine
HASH(0x8aeff24)
8 =>  
at (eval 141) line 3811.
##More details:
-------- PG_priv::set_default_options called at (eval 159) line 447
---- PG_priv::romberg called at (eval 160) line 64
---- PG_priv::normal_prob called at (eval 54) line 30
---- PG_priv::__ANON__ called at /usr/lib/perl/5.6.1/Safe.pm line 222
---- Safe::reval called at /usr/local/webwork/system/lib//PGtranslator.pm line 733
---- PGtranslator::translate called at /usr/local/webwork/system/cgi/cgi-scripts/processProblem8.pl line 445

--------------------------------------

<| Post or View Comments |>


userArnold K. Pizer - Re: pink page probability problems  blueArrow
1/6/2004; 9:10:05 AM (reads: 1775, responses: 0)

Hi Andy,

I thought that this was fixed awhile ago but either I'm mistaken or the fix was lost.  Anyway the fix is easy.  Either download a new copy of PGstatisticsmacros.pl form the CVS (under pg/macros) or make the following very simple change yourself.

Change line 64 of  .../webwork/pg/macros/PGstatisticsmacros.pl from

        my $prob = romberg($function, $z_score_of_a, $z_score_of_b, 8);

to

        my $prob = romberg($function, $z_score_of_a, $z_score_of_b, level => 8);

 

Arnie

<| Post or View Comments |>


userAndrew L Vogel - Re: pink page probability problems  blueArrow
1/12/2004; 8:07:19 AM (reads: 1739, responses: 0)

Thanks alot worked like a charm,

Another question.

When getting the answers printed in the hardcopy what comes out is the tex code, unprocessed.  In the problem sets

Linear Algebra 1 Systems beginning with problem #15 through 21, and then problem #27

Linear Algebra 3 Matrices with problem #35-37

 

Thanks for any help.

 

Andy

 

<| Post or View Comments |>