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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Naveed Iqbal
am 11 Jun. 2015
Beantwortet: Walter Roberson
am 11 Jun. 2015
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 11 Jun. 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);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MuPAD finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!