Topics Map > CATL > Canvas

# Canvas - How do I create multiple step Formula questions in Classic Quizzes?

## How to utilize multiple steps in your formula

1. **Create a new question **2. Select

**Formula Question**from the drop down menu

3.

**Type up the text**of the problem in the box

4. Any variables that you want randomized from student to student can be

**placed in brackets like [x]**.

This example shows 10 different randomized numbers called x1 through x10.

5. **Specify the range** you would like randomized values to be drawn from as well as how many decimal places you want them to have.

This example has each of the 10 randomized data values being between 1 and 10 with one decimal place.

6. **Build up the formula** for the correct answer step-by-step.

Note that at each step of the formula you can specify how many decimal places to keep, up to 4. In this example, we first use the built in “mean” function in Canvas to find the mean of the data set and label it m (this is the "xbar" in our formula). We then take each data value of x1 through x10, subtract the mean, m, and square the result. These are stored as y1 through y10. We then use the built in “sum” function in canvas to add the values of y1 through y10 and divide by 10-1. Finally we apply the square root. Canvas will use the result of the last formula row as the final answer to the quiz question, and this will be bolded. A list of built-in helper functions such as mean and sum can be found at Canvas Helper Functions.

**generate as many possible solutions**as you need for the quiz question.

*24/7/365 Canvas Support is available through the help icon in Canvas, by calling the phone support for faculty, staff and students or email us directly at canvas@uwlax.edu.*