Hello, I would like to create a quiz with a random variable (e.g. weight) so that each time the students take it, they have a different weight they need to use to do calculations. They are calculating drug dosages and I want them to have numerous opportunities to practice. I could make 100+ questions, but that seems inefficient. I thought that this was the whole purpose of using an equation question. However, when I make an equation question using a variable [x], each time I take the quiz using the Preview function, the same weight appears. I even tried substituting the rand() function for x, and had the same error. Is there a way to randomly generate a new value for a variable each time a student accesses a quiz? Thank you!

Quiz is an example using rand(), Quiz2 is an example of the original way I formulated the equation.

Erik, sorry for not responding to this earlier and I hope that you've already figured out the issue by now! If you haven't and if others find this and are having the same issue, I wanted to make sure the answer was posted.

The problem is that you only told Canvas to generate one answer - this was visible from the images you posted. You needed to indicate how many answers you wanted Canvas to generate for the question. For more information on this, see the following guide - 4152,43383 - and more specifically the heading for "Set possible solutions."

Sorry again, but I hope this helps!