Product 命令
- Product( <List of Raw Data> )
-
计算列表中所有数字的积。
Product({2, 5, 8})
得出
80
.
- Product( <List of Numbers>, <Number of Elements> )
-
计算前 n 个元素的积。
Product({1, 2, 3, 4}, 3)
得出
6
.
- Product( <List of Numbers>, <List of Frequencies> )
-
计算 数字列表 中所有元素的积,各元素的指数为 频率列表 中对应的值。
-
Product({20, 40, 50, 60}, {4, 3, 2, 1})得出 1536000000000000 -
Product({sqrt(2), cbrt(3), sqrt(5), cbrt(-7)}, {4, 3, 2, 3})得出 -420
|
这两个列表的长度必须相同。 |
- Product( <Expression>, <Variable>, <Start Value>, <End Value> )
-
计算所得表达式的积,这些表达式是将给定变量替换为从给定的 起始值 到给定的 终止值 值。
-
Product(k, k, 1, 7)得出 5040 -
Product(x + k, k, 2, 3)得出 f ( x )=( x + 2)( x + 3).