## WeBWorK Problems

### MathObjects: TeXing Functions

by Robin Cruz -
Number of replies: 2

I tried to get a function to show up in it's TeX form as follows:

$a = random(1,9,1);$b = non_zero_random(-9,9,1);
$f = Formula("$a + $b x");$x = random(1,9,1);
BEGIN_TEXT
Evaluate the algebraic expression for the given value(s):

$${f->TeX}$$, for $$x = x$$

Davide