04 Variables: Storing and Recalling Values (STO, RCL) 04 ตัวแปร: การบันทึกค่าลงตัวแปรและการเรียกใช้ (STO, RCL)

Last updated แก้ไขล่าสุด

Store a number or a calculation result in a variable, then recall it to view it or use it in a new calculation. เก็บตัวเลขหรือผลการคำนวณไว้ในตัวแปร แล้วเรียกกลับมาดูหรือใช้ในโจทย์ใหม่

1Introductionบทนำ

This lesson is practice in storing a number or a calculation result in a variable on a scientific calculator, then recalling the value to view it or use it in a new calculation. This helps a lot when the result of one calculation is needed in several others: you do not have to write the number down and type it in again, which is where typing mistakes creep in, and the values in the variables are kept even after you turn the calculator off [1].

บทนี้ฝึกเก็บตัวเลขหรือผลการคำนวณไว้ในตัวแปรของเครื่องคิดเลขวิทยาศาสตร์ แล้วเรียกค่ากลับมาดูหรือใช้ในโจทย์ใหม่ ช่วยได้มากเมื่อผลของโจทย์หนึ่งต้องใช้ต่อในอีกหลายโจทย์ เพราะไม่ต้องจดตัวเลขแล้วพิมพ์ใหม่ ซึ่งอาจพิมพ์ผิดได้ และค่าในตัวแปรยังอยู่แม้กด ปิดเครื่อง [1]

The CASIO fx-991ES PLUS (2nd edition) has nine variables: A, B, C, D, E, F, M, X and Y. On other models the keys may be in different places, but the variable names are usually printed in red above the keys.

เครื่อง CASIO fx-991ES PLUS (2nd edition) มีตัวแปร 9 ตัว ได้แก่ A, B, C, D, E, F, M, X และ Y รุ่นอื่นตำแหน่งปุ่มอาจต่างกัน แต่สัญลักษณ์ชื่อตัวแปรมักจะเป็นป้ายสีแดงเหนือปุ่ม

      2Calculationการคำนวณทางคณิตศาสตร์

      Section 3 stores two variables, A and B, where

      ตัวแปรที่จะเก็บในหัวข้อ 3 มี 2 ตัวแปรคือ A และ B เมื่อ

      \[ \begin{align*} \mathllap{A} &= 100 \\[1.2em] \mathllap{B} &= \bigl((10 + 20) \div (5 - 2)\bigr) \times 20 \\[0.4em] &= (30 \div 3) \times 20 \\[0.4em] &= 10 \times 20 \\[0.4em] &= 200 \end{align*} \]
      \[ \begin{align*} \mathllap{A} &= 100 \\[1.2em] \mathllap{B} &= \bigl((10 + 20) \div (5 - 2)\bigr) \times 20 \\[0.4em] &= (30 \div 3) \times 20 \\[0.4em] &= 10 \times 20 \\[0.4em] &= 200 \end{align*} \]

      Find A+B

      หา A+B

      \[ \begin{align*} \mathllap{A + B} &= 100 + 200 \\[0.4em] &= 300 \end{align*} \]
      \[ \begin{align*} \mathllap{A + B} &= 100 + 200 \\[0.4em] &= 300 \end{align*} \]

      3Key stepsการใช้งาน

      Press one key at a time, in order. After each key the display should show what is written here. The underlined character marks the cursor position. Exercises 2 and 3 start from the display left by the previous exercise.

      กดทีละปุ่มตามลำดับ หลังกดแต่ละปุ่ม จอควรแสดงตามที่เขียนไว้ ตัวที่ขีดเส้นใต้คือตำแหน่งของ cursor ข้อ 2 และข้อ 3 เริ่มจากจอของข้อก่อนหน้า

      Exercise 1: Store 100 in variable Aข้อ 1 เก็บ 100 ในตัวแปร A

      1. ON Press ON to turn the calculator onกด ON เพื่อเปิดเครื่อง — Displayจอ _
      2. 1 — Displayจอ 1_
      3. 0 — Displayจอ 10_
      4. 0 — Displayจอ 100_
      5. SHIFT — Displayจอ 100_ (S shows in the corner)(มุมจอแสดง S)
      6. RCL Press RCL (STO); the calculator waits for a variable nameกด RCL (STO) เครื่องรอชื่อตัวแปร — Displayจอ 100_ (STO shows in the corner)(มุมจอแสดง STO)
      7. (−) Press (−) (A) to store 100 in variable Aกด (−) (A) เก็บ 100 ไว้ในตัวแปร A — Displayจอ 100→A bottom lineบรรทัดล่าง 100

      Exercise 2: Store a calculation result in variable Bข้อ 2 เก็บผลการคำนวณในตัวแปร B

      1. ( Press ( to start typing a new calculationกด ( เริ่มพิมพ์โจทย์ใหม่ — Displayจอ (_
      2. ( — Displayจอ ((_
      3. 1 — Displayจอ ((1_
      4. 0 — Displayจอ ((10_
      5. + — Displayจอ ((10+_
      6. 2 — Displayจอ ((10+2_
      7. 0 — Displayจอ ((10+20_
      8. ) — Displayจอ ((10+20)_
      9. ÷ — Displayจอ ((10+20)÷_
      10. ( — Displayจอ ((10+20)÷(_
      11. 5 — Displayจอ ((10+20)÷(5_
      12. − — Displayจอ ((10+20)÷(5-_
      13. 2 — Displayจอ ((10+20)÷(5-2_
      14. ) — Displayจอ ((10+20)÷(5-2)_
      15. ) — Displayจอ ((10+20)÷(5-2))_
      16. × — Displayจอ ((10+20)÷(5-2))×_
      17. 2 — Displayจอ ((10+20)÷(5-2))×2_
      18. 0 — Displayจอ ((10+20)÷(5-2))×20_
      19. SHIFT — Displayจอ ((10+20)÷(5-2))×20_ (S shows in the corner)(มุมจอแสดง S)
      20. RCL Press RCL (STO); the calculator waits for a variable nameกด RCL (STO) เครื่องรอชื่อตัวแปร — Displayจอ ((10+20)÷(5-2))×20_ (STO shows in the corner)(มุมจอแสดง STO)
      21. °′″ Press °′″ (B) to calculate and store the result in variable Bกด °′″ (B) คำนวณแล้วเก็บผลไว้ในตัวแปร B — Displayจอ ((10+20)÷(5-2))×20→B bottom lineบรรทัดล่าง 200

      Exercise 3: Turn the calculator off, then use A + Bข้อ 3 ปิดเครื่องแล้วเรียกใช้ A + B

      1. SHIFT — Displayจอ ((10+20)÷(5-2))×20→B bottom lineบรรทัดล่าง 200 (S shows in the corner)(มุมจอแสดง S)
      2. AC Press AC (OFF) to turn the calculator offกด AC (OFF) เพื่อปิดเครื่อง — Displayจอ Display offจอดับ
      3. ON Press ON to turn the calculator on againกด ON เปิดเครื่องใหม่ — Displayจอ _
      4. RCL Press RCL; the calculator waits for a variable nameกด RCL เครื่องรอชื่อตัวแปร — Displayจอ _ (RCL shows in the corner)(มุมจอแสดง RCL)
      5. (−) Press (−) (A): variable A still holds 100กด (−) (A) ดูค่าในตัวแปร A ยังเป็น 100 — Displayจอ A= bottom lineบรรทัดล่าง 100
      6. RCL — Displayจอ A= bottom lineบรรทัดล่าง 100 (RCL shows in the corner)(มุมจอแสดง RCL)
      7. °′″ Press °′″ (B): variable B still holds 200กด °′″ (B) ดูค่าในตัวแปร B ยังเป็น 200 — Displayจอ B= bottom lineบรรทัดล่าง 200
      8. ALPHA Press ALPHA to type a variable nameกด ALPHA เพื่อพิมพ์ชื่อตัวแปร — Displayจอ B= bottom lineบรรทัดล่าง 200 (A shows in the corner)(มุมจอแสดง A)
      9. (−) Press (−) (A) to type Aกด (−) (A) พิมพ์ A — Displayจอ A_
      10. + — Displayจอ A+_
      11. ALPHA — Displayจอ A+_ (A shows in the corner)(มุมจอแสดง A)
      12. °′″ Press °′″ (B) to type Bกด °′″ (B) พิมพ์ B — Displayจอ A+B_
      13. = Press = to get the answer 300กด = ได้คำตอบ 300 — Displayจอ A+B bottom lineบรรทัดล่าง 300

      Watch out

      ข้อควรระวัง

      • Storing a value with STO replaces the old value in the variable at once. To clear a variable, store 0 in it [1].
      • If you press STO after pressing =, the calculator stores the last answer (Ans) in the variable.
      • If you forget to press ALPHA before a variable key, the calculator uses the key's main function instead; for example, (−) becomes a minus sign in front of a number.
      • การเก็บค่าด้วย STO แทนที่ค่าเดิมในตัวแปรทันที ถ้าต้องการล้างตัวแปร ให้เก็บค่า 0 ลงไป [1]
      • ถ้ากด STO หลังจากกด = แล้ว เครื่องจะเก็บคำตอบล่าสุด (Ans) ลงตัวแปร
      • ถ้าลืมกด ALPHA ก่อนปุ่มตัวแปร เครื่องจะใช้หน้าที่หลักของปุ่มนั้นแทน เช่น (−) จะเป็นเครื่องหมายลบหน้าตัวเลข

      4Interactive visualizationInteractive visualization

      Press the keys of the virtual calculator by following the steps in section 3. Practice mode highlights the next key; if you press a wrong key, the calculator warns you and waits until you press the right one. Test mode lets you press any key and times you from the first key. You pass when the value stored in the variable, or the calculation and answer on the display, matches the problem. Stats are stored only in your browser.

      กดปุ่มบนเครื่องคิดเลขเสมือนตามขั้นตอนในหัวข้อ 3 โหมดฝึกไฮไลต์ปุ่มถัดไปให้ดู ถ้ากดผิด เครื่องจะเตือนและรอจนกว่าจะกดปุ่มที่ถูก ส่วนโหมดทดสอบกดได้อิสระและจับเวลาตั้งแต่ปุ่มแรก ผ่านเมื่อค่าในตัวแปรหรือจอแสดงโจทย์และคำตอบตรงกับโจทย์ สถิติเก็บไว้ในเบราว์เซอร์ของคุณเท่านั้น

      Virtual calculator เครื่องคิดเลขเสมือน

      Loading the virtual calculator…

      กำลังโหลดเครื่องคิดเลขเสมือน…

      Referencesเอกสารอ้างอิง

      1. CASIO Computer Co., Ltd., fx-570ES PLUS / fx-991ES PLUS / fx-9910NG PLUS (2nd edition / NATURAL-V.P.A.M.) User’s Guide, SA2402-B, Feb. 2024. Accessed: Nov. 23, 2026. [Online]. Available: https://world.casio.com/manual/calc/