evaluateAt a fraction?

Is there any way to get evaluateAt to take a fraction as input? If I wanted to evaluate the students’ expression at 5/3, for example? I’ve been searching through posts here and have learned a lot about getting fractions as answers matched, but can’t seem to make this work.

I thought I might take a round-about route and define a variable with that value and then evaluateAt(variable) but either I’ve messed something up in the definition or evaluateAt doesn’t like variable inputs either.

Try comparing the student input to the fraction variable seen here.

fraction = simpleFunction(`x/y`, `x`, `y`).evaluateAt(5,3)

thank you! definitely messed up creating the variable. :slight_smile: