Error using mupadmex Error in MuPAD command: The second argument must be of form x or x = a..b. [int] Error in sym/int (line 107) rSym = mupadmex('symobj::intindef',f.s,x.s,options);
1 次查看(过去 30 天)
显示 更早的评论
I want to integrate function F w.r.t L but cant not able to do. If anyone know please tell
L=2.*exp(x);
E=exp(-x);
F=2.*E+exp(E);
int(F,L)
0 个评论
采纳的回答
Walter Roberson
2015-6-11
You cannot integrate with respect to a function. You need to integrate with respect to a variable.
You might wish to do a change of variable, perhaps.
syms Lv
xv = solve(Lv=L,x);
Fv = subs(F,x,xv);
intv = int(Fv,Lv);
result = subs(intv, Lv, L);
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with MuPAD 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!