Integration with Symbolic Variables
Show older comments
Hi,
I have a problem like that. How can i solve this?

3 Comments
Torsten
on 12 May 2023
What do you mean by "double integration problem" ? Is there a second integration variable apart from theta ?
Furkan KORKMAZ
on 12 May 2023
Dyuman Joshi
on 14 May 2023
@Furkan KORKMAZ please check the answers posted below.
Accepted Answer
More Answers (2)
Use integral() - see DOC
E.g.:
% Step 1. Create a function handle:
F = @(theta, a)sqrt((a*(1-cos(theta))).^2+(a*(1-sin(theta))).^2);
% Step 2. Compute the integral:
INT_F = integral(@(theta)F(theta, 10), 0, 2*pi)
1 Comment
Furkan KORKMAZ
on 14 May 2023
Furkan KORKMAZ
on 14 May 2023
Edited: Furkan KORKMAZ
on 14 May 2023
0 votes
Categories
Find more on MATLAB 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!