SurdText 指令
来自GeoGebra Manual
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
- SurdText( <數值> )
- 建立文字物件並以 \frac{a+b\sqrt{c}}{d} 形式表示此 <數值>。
- 範例:
SurdText(2.414213562373095)
建立 1 + \sqrt{2} 文字。SurdText(2.439230484541326)
建立 \frac{7+3 \sqrt{3} }{5} 文字。
- SurdText( <數值>, <串列> )
- Creates text representation of the number as multiples of the constants in the list. If the list is empty it uses a list of common constants.
- 範例:
SurdText(3.718281828459045, {exp(1)})
creates e + 1SurdText(5.382332347441762, {sqrt(2), sqrt(3), sqrt(5)})
creates \sqrt{5} + \sqrt{3} + \sqrt{2}SurdText(1.693147180559945, {ln(2)})
creates \ln(2) + 1
- SurdText( <點> )
- Creates text representation of the point, where coordinates are in the form \frac{a+b\sqrt{c}}{d}.
- 範例:
SurdText((2.414213562373095, 1.414213562373095))
creates (1 + \sqrt{2}, \sqrt{2})
備註:
- In order to use this command in a Text object, the option LaTeX Formula needs to be enabled in the Text tab of the Properties Dialog of the text.
- Since this command works with a rounded decimal number as input, sometimes the result will be unexpected.
- If a suitable answer can't be found, the number will be returned.
- 範例:
SurdText(1.23456789012345)
returns 1.23456789012345.
- See also the FractionText and ScientificText commands.