Start GeoGebra
Create Activity
Create Book
Upload…
Create Group
Join Group
Resources
Downloads
Blog
Help
Sign in
搜索
页面
讨论
查看源代码
历史
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
Create language links
链入页面
相关更改
上传文件
特殊页面
查看“SurdText 指令”的源代码
←
SurdText 指令
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
不允许您执行您所请求的操作。
您可以查看和复制此页面的源代码。
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|text}} ;SurdText( <數值> ) :Creates text representation of the number in the form <math>\frac{a+b\sqrt{c}}{d}</math>. :{{examples|1=<div> :*<code>SurdText(2.414213562373095)</code> creates ''<math>1 + \sqrt{2}</math>'' :*<code>SurdText(2.439230484541326)</code> creates ''<math>\frac{7+3 \sqrt{3} }{5}</math>'' </div>}} ;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. :{{examples|1=<div> :*<code>SurdText(3.718281828459045, {exp(1)})</code> creates ''<math>e + 1</math>'' :*<code>SurdText(5.382332347441762, {sqrt(2), sqrt(3), sqrt(5)})</code> creates ''<math> \sqrt{5} + \sqrt{3} + \sqrt{2}</math>'' :*<code>SurdText(1.693147180559945, {ln(2)})</code> creates ''<math> \ln(2) + 1</math>''</div>}} ;SurdText( <點> ) :Creates text representation of the point, where coordinates are in the form <math>\frac{a+b\sqrt{c}}{d}</math>. :{{example|1=<div><code><nowiki>SurdText((2.414213562373095, 1.414213562373095))</nowiki></code> creates ''(<math>1 + \sqrt{2}, \sqrt{2})</math>''</div>}} {{Notes|1=<div> :* In order to use this command in a Text object, the option '''''LaTeX Formula''''' needs to be enabled in the ''Text'' tab of the [[File:Menu-options.svg|link=|16px]] [[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. ::{{example|1=<code><nowiki>SurdText(1.23456789012345)</nowiki></code> returns ''1.23456789012345''.}} :*See also the [[FractionText Command|FractionText]] and [[ScientificText Command|ScientificText]] commands.</div>}}
该页面使用的模板:
Template:Command
(
查看源代码
)
Template:Example
(
查看源代码
)
Template:Examples
(
查看源代码
)
Template:Manual Page
(
查看源代码
)
Template:Notes
(
查看源代码
)
返回至
SurdText 指令
。
GeoGebra
About
Team
Blog
Help
Tutorials
Forum
Manual
Partners
Partners
Institutes
Get Involved
Contact us
Feedback & Questions
This email address is being protected from spambots. You need JavaScript enabled to view it.
+43 677 6137 2693
Terms of Service
Privacy
License
© 2024 International GeoGebra Institute