iCAx开思网

标题: User input line的数据计算 [打印本页]

作者: boll_lee    时间: 2009-1-13 08:31
标题: User input line的数据计算
各位,User input line里可以直接进行加减乘除混合运算
好像以前的版本不能用呢,哈哈

但不知道如开平方根,立方根等怎么用
作者: 干涉    时间: 2009-1-13 09:10
sqrt(X)是做平方根的
作者: boll_lee    时间: 2009-1-13 09:50
在Excel中,开多次方根只要这样写就可以了x^n或者x^(1/n)
在OSD里面,我这样写也没有错误提示,就是没有看到结果
呵呵,测试中
作者: 干涉    时间: 2009-1-13 15:50
You can enter mathematical expressions in fields that require a numeric value, such as length, radius, or distance. You can also enter the expression in the user input line. These expressions can include:

+, -, *, /
sin, cos, tan, asin, acos, atan
sqrt (square root)
^ (power: x^y where y is an integer)
exp (e^x)
PI (or lower-case pi)
bracket terms
floor(n) (highest integer less than or equal to n; rounds n down to the next integer)
ceil(n) (smallest integer not less than n; rounds n up to the next integer)
Examples
3*(5.5+17.2) = 68.1
sin(45)+3*11.4 = 34.907106781186549
tan(45) = 1.0
1.5^3 = 3.375
floor(42.17) = 42
ceil(28.17) = 29
floor(-2.3) = -3
ceil(-2.7) = -2
Limitations
A mathematical expression can't contain spaces or it will be evaluated as a LISP expression.
LISP variables are not supported in mathematical expressions. For example, (setq a 5) a+3*1.7 returns a LISP error. However, you can still enter LISP expressions into the user input line as you have always done.
You can't specify unit types in your expressions; values are in current units. For example, 3in+5mm returns a LISP error.
The last value stored in a data field history is the result of the expression and not the expression itself. Whereas the history list of the enter-command line stores the expression itself and not the result.
Expressions cannot be used in accumulated data types like vectors. For example, 0,2*3 is not possible.

帮助里写的,乘幂是可以的,但是开根就不行了
X^Y,其中Y必须是整数。
作者: boll_lee    时间: 2009-1-13 18:40
兄弟真是有心人,这些资料都找来了,呵呵

多赞雷
作者: yzy539    时间: 2009-1-14 09:59
欢迎大家都分享自己的使用经验,共同提高.
作者: swjbrian    时间: 2011-2-11 23:43
good good good




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3