Evaluate integral at specific value
Show older comments
I have the following mathematical function f=5sin(x), I use the int(f) to obtain the integral of my expression. Is there a way for me to evaluate the result of the integral at a specifc value, lets say 4,32,
3 Comments
SALAH ALRABEEI
on 7 Jun 2021
% define your function f, and the value a
syms x
a=
f=
I = int(f);
subs(I,x,a)
Ahmed Abdulla
on 7 Jun 2021
Ahmed Abdulla
on 7 Jun 2021
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
