抱歉,我找不到任何相关信息。
如果我有带符号函数 f(x) 的表达式,现在我想用它的显式形式替换这些表达式 f(x) 怎么办?
例如:
我有
f(x):= x^2+sin(x)
并在分化
diff (%e**sqrt(f(x)*a), x,2);
我想用上面的表达式替换 f(x)
吗?
谢谢
卡尔
最佳答案
(%i1) i: integrate(f(x)*f(4*x), x, 0, 1) $
(%i2) f(x):= x^2+sin(x) $
(%i3) ev(i, f);
1
/
[ 2 2
(%o3) I (sin(x) + x ) (sin(4 x) + 16 x ) dx
]
/
0
-- Function: ev (<expr>, <arg_1>, ..., <arg_n>) Evaluates the expression <expr> in the environment specified by the arguments <arg_1>, ..., <arg_n>. The arguments are switches (Boolean flags), assignments, equations, and functions. 'ev' returns the result (another expression) of the evaluation.
关于Maxima:用定义替换函数 f(x)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61251819/