Effacer les filtres
Effacer les filtres

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::in​tindef',f.​s,x.s,opti​ons);

2 vues (au cours des 30 derniers jours)
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)

Réponse acceptée

Walter Roberson
Walter Roberson le 11 Juin 2015
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);

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MuPAD dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by