--- loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex 2018/09/12 22:00:19 1.35 +++ loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex 2020/05/27 19:46:44 1.36 @@ -48,10 +48,10 @@ erf = 2/sqrt(pi) integral (0,x) et-sq an \&format(\$x,'nn') & Display or format \$x as nn where nn is nF or nE or nS and n is an integer. \\ \hline -\$expr=\&math_calculus_expression() & Creates Math::Calculus::Expression object. Methods are: \$expr->addVariable('x'), \$expr->setExpression('f(x)'), \$expr->simplify, \$expr->getExpression -- see Math::Calculus::Expression documentation at cpan.org for details.\\ +\$expr=\&math\_calculus\_expression() & Creates Math::Calculus::Expression object. Methods are: \$expr->addVariable('x'), \$expr->setExpression('f(x)'), \$expr->simplify, \$expr->getExpression -- see Math::Calculus::Expression documentation at cpan.org for details.\\ \hline -(\$a,\$u)=\&conv_eng_format(\$x,\$b) & Converts numerical value \$x and base unit \$b to answer \$a and corresponding unit \$u in engineering format, i.e., +(\$a,\$u)=\&conv\_eng\_format(\$x,\$b) & Converts numerical value \$x and base unit \$b to answer \$a and corresponding unit \$u in engineering format, i.e., the answer is scaled by powers of ten, and an appropriate prefix from: m u n p f a z y k M G T P E Z Y precedes the base unit. Called in a script block to generate variables to assign to answer and unit attributes of numericalresponse tag. \\ \hline