【问题标题】:Maxima. Function of independent variables as a factor千里马。自变量作为因子的函数
【发布时间】:2020-06-29 01:11:55
【问题描述】:

有没有选择一个自变量函数作为因子的函数?

例如,如果你写:

'integrate(2*y*x^2, x);

你会得到:

2*y*'integrate(x^2, x);

像这样,只是没有积分?:

[2*y, x^2]

【问题讨论】:

    标签: function split expression maxima simplification


    【解决方案1】:

    来自文档:

    函数:分区(expr, x)

    返回两个表达式的列表。它们是 (1) expr 的因数(如果是乘积)、expr 的项(如果是和)或不包含 x 的列表(如果是列表),以及 (2)起作用的因素、术语或列表。

    例子:

    (%i1) partition (2*a*x*f(x), x);
    (%o1)                     [2 a, x f(x)]
    (%i2) partition (a+b, x);
    (%o2)                      [b + a, 0]
    (%i3) partition ([a, b, f(a), c], a); 
    (%o3)                  [[b, c], [a, f(a)]]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-30
      相关资源
      最近更新 更多