How I Code the limit integration??

13 views (last 30 days)
Ye
Ye on 29 Oct 2022
Answered: David Hill on 29 Oct 2022
I know how to code integration, but I don't know how to code this integration.
  1 Comment
Alex Hanes
Alex Hanes on 29 Oct 2022
Is your expression symbolic? The integration documentation shows you: int(f,x,lower, upper)

Sign in to comment.

Answers (1)

David Hill
David Hill on 29 Oct 2022
f=@(x).5*exp(-.2*x).*sin(10*pi*x);
I=integral(f,0,1)
I = 0.0029

Community Treasure Hunt

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

Start Hunting!