[ARCHIVED] New Quizzes Formula reference

Jump to solution
adamerickson
Community Novice

I've been working with formula questions in Quizzes for a while and am trying New Quizzes.

I would like to make variables that are dependent upon other variables.

Example:

"What is `x` plus `y` divided by `x^2 - y`"  and Canvas would display  "What is 3 plus 5 divided by 4".

The actual formulas I'll be using will be more complicated than that, but that's the general idea.  Is it possible? 

Labels (2)
0 Likes
1 Solution
James
Community Champion

 @adamerickson ,

This functionality does not exist in New Quizzes. It was not supported in legacy quizzes either.

There are some things that were worked with formula questions in legacy quizzes that do not work with New Quizzes. For example, you could use variable names that started with a letter and included a number. I regularly had variable names of [x1], [x2], [x3], but those are not picked up by New Quizzes.

Last year, I wrote a blog: Using Calculated Values in the Text of Formula Questions. I have not explored New Quizzes the way I have legacy quizzes, so I do not know if a similar approach could be used.

One thing that is nice about New Quizzes and formula questions is that you can include a variable within a LaTeX expression. 

If your question stem is:

Evaluate \(`x`+\sqrt{`y`}\)

It gets displayed like this:

335398_pastedImage_3.png

View solution in original post