solving definite integrals exponential
Show older comments
im trying to integrate e^(x/2) from -2 to 10 and cant get it to actually solve the integral function instead i get the answer : 2*exp(-1)*(exp(6) - 1).
I entered :
syms x;
f = exp(x./2);
A = int(f, -2,10)
1 Comment
Walter Roberson
on 10 Feb 2020
What is wrong with that answer from your viewpoint?
Accepted Answer
More Answers (0)
Categories
Find more on Code Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!