> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/quizzes-and-assignment/new-quizzes/formula.md).

# Formula

The question type is calculation formula. A numerical value is required for answers.

### Variable Definition

<figure><img src="/files/cDDwUIWKGiKc5DYmWx7e" alt=""><figcaption></figcaption></figure>

After adding questions and variables, you can add variable \[1], a minimum value \[2], maximum value \[3], and decimal \[4].

### Formular Definition

<figure><img src="/files/3tbUUYpqAK8vkVhtIsEe" alt=""><figcaption></figcaption></figure>

Equation can be added at the 'Formula Definition' section. Avoid putting '=' (equal sign) and parentheses.

{% hint style="info" %}
Currently, supported math operations include + (addition), - (subtraction), \* (multiplication), / (division) and ^ (power).
{% endhint %}

### Generate Possible Solutions

<figure><img src="/files/2WKj9xQfNxsaPgy2TatC" alt=""><figcaption></figcaption></figure>

After defining variables and equations, the instructor can check their accuracy using "Generate Possible Solutions". This is a process where the system calculates and provides possible results based on the given variables and equations. The number of results, decimal places, and allowable margin of error can be specified.

<figure><img src="/files/FRIRG69QDsAolE20EszD" alt=""><figcaption></figcaption></figure>

## Video Tutorial for Formular

{% embed url="<https://youtu.be/mEFq3wwGQdQ>" %}
