“真假值”的版本间的差异
来自GeoGebra Manual
第7行: | 第7行: | ||
{{Note|You may also use Boolean variables like numbers (value 0 or 1). This allows you to use a checkbox as the dynamic speed of an animated slider allowing you to start and stop the animation. In this case, the animation button is only shown in the [[File:Menu view graphics.svg|link=|16px]] ''Graphics View'' if there is also an animated slider with static (i.e. non-dynamic) speed.}} | {{Note|You may also use Boolean variables like numbers (value 0 or 1). This allows you to use a checkbox as the dynamic speed of an animated slider allowing you to start and stop the animation. In this case, the animation button is only shown in the [[File:Menu view graphics.svg|link=|16px]] ''Graphics View'' if there is also an animated slider with static (i.e. non-dynamic) speed.}} | ||
− | == | + | == 運算== |
You can use the following operations for Boolean variables and conditions in GeoGebra by either selecting them from the list next to the Input Bar or by entering them using the keyboard: | You can use the following operations for Boolean variables and conditions in GeoGebra by either selecting them from the list next to the Input Bar or by entering them using the keyboard: |
2021年6月10日 (四) 05:43的版本
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
您可以在 GeoGebra 中使用真假值(Boolean value,也稱布林值) true 和 false。只要在指令列輸入並按下 Enter 鍵即可建立真假值物件,例如:a = true
或 b = false
。
勾選框和方向鍵
新建的真假值物件可用勾選框的形式顯現在 繪圖區(請參閱 勾選框工具)。在 代數區 點選完一個真假值之後,您可以使用方向鍵或空白鍵來切換真假值(請參閱手動調整)。
備註: You may also use Boolean variables like numbers (value 0 or 1). This allows you to use a checkbox as the dynamic speed of an animated slider allowing you to start and stop the animation. In this case, the animation button is only shown in the Graphics View if there is also an animated slider with static (i.e. non-dynamic) speed.
運算
You can use the following operations for Boolean variables and conditions in GeoGebra by either selecting them from the list next to the Input Bar or by entering them using the keyboard:
Operation | List | Keyboard | Example | Object types |
---|---|---|---|---|
Equal | ≟ | == | a ≟ b or a == b | numbers, points, lines, conics, functions (needs CAS), planes, a, b |
Unequal | ≠ | != | a ≠ b or a != b | numbers, points, lines, conics, functions (needs CAS), planes a, b |
Less than | < | a < b | numbers a, b | |
Greater than | > | a > b | numbers a, b | |
Less or equal than | ≤ | <= | a ≤ b or a <= b | numbers a, b |
Greater or equal than | ≥ | >= | a ≥ b or a >= b | numbers a, b |
And | ∧ | && | a ∧ b or a && b | Booleans a, b |
Or | ∨ | || | a ∨ b or a || b | Booleans a, b |
Not | ¬ | ! | ¬a or !a | Boolean a |
Parallel | ∥ | a ∥ b | lines a, b | |
Perpendicular | ⊥ | a ⊥ b | lines a, b | |
Belongs to | ∈ | a ∈ list1 | number a, list of numbers list1 |