# Formula

ข้อคำถามประเภทสูตรคำนวน ผู้เรียนจะต้องตอบเป็นตัวเลข

### กำหนดค่าของตัวแปร

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2Ff6hSvebmmf5jabkfd5oF%2Fimage.png?alt=media&#x26;token=877fd37e-a01e-400d-a5c6-8fe9ce8b16b3" alt=""><figcaption></figcaption></figure>

หลังจากเพิ่มคำถามและตัวแปรแล้ว สามารถมาเพิ่มตัวแปรที่ \[1] ค่าต่ำสุด \[2] สูงสุด \[3] และทศนิยม \[4]

### กำหนดสมการ

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FGhhsKauGgtJObIs3Gd7P%2Fimage.png?alt=media&#x26;token=4ef26ff8-2d61-4d1a-bfa9-3a8d1e15f1de" alt=""><figcaption></figcaption></figure>

เพิ่มสมการที่ช่อง Formula Definition โดยห้ามใส่เครื่องหมาย = (เท่ากับ) และ วงเล็บในช่องนี้

{% hint style="info" %}
สมการที่ระบบรองรับในตอนนี้คือ + (บวก), - (ลบ), \* (คูณ), / (หาร) และ ^ (ยกกำลัง)
{% endhint %}

### ระบบคำนวนคำตอบจากสมการ

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2F7E5SPy5SfD9krWOrfblK%2Fimage.png?alt=media&#x26;token=e0850da5-b6f7-4445-a22e-058769acf497" alt=""><figcaption></figcaption></figure>

หลังจากกำหนดตัวแปรและสมการแล้ว ผู้สอนสามารถตรวจดูความถูกต้องได้ที่ Generate Possible Solutions คือการที่ระบบนำตัวแปรและสมการที่ได้รับไปคำนวนดูผลลัพธ์ที่เป็นไปได้ออกมาให้ โดยสามารถกำหนดจำนวนผลลัพธ์ ตำแหน่งทศนิยม และ ค่าความคาดเคลื่อนได้

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FJmFvT3X1LkPx4NkOaYlD%2Fimage.png?alt=media&#x26;token=d5e1c442-cf49-416d-8224-fe581eebef11" alt=""><figcaption></figcaption></figure>

## คลิปสาธิตการสร้างคำถามประเภท Formular

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tlic.cmu.ac.th/cmucanvas-manual/quiz-assign/new-quizzes/formula.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
