Why can't I do the integral?
Afficher commentaires plus anciens
syms x
f=1/x
a=2
b=7
D1=diff(f,x);
D2=diff(D1,x);
D3=diff(D2,x);
D4=diff(D3,x);
E=(1/(b-a))*D4
F=int(E,a,b)
Error using sym/subsindex (line 857) Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic variables, and function body must be sym expression. Error in Untitled2 (line 12) F=int(E,a,b),
Réponse acceptée
Plus de réponses (1)
Girijashankar Sahoo
le 20 Mai 2021
0 votes
%% run the program perhapes it work
F =
1431/19208
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!