Integration with Symbolic Variables
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Furkan KORKMAZ
am 12 Mai 2023
Kommentiert: Furkan KORKMAZ
am 14 Mai 2023
Hi,
I have a problem like that. How can i solve this?

3 Kommentare
Akzeptierte Antwort
VBBV
am 12 Mai 2023
syms theta r
a=10;
x=a*(1-cos(theta));
y=a*(1-sin(theta));
r=sqrt(x^2+y^2)
I = vpaintegral(r,0,2*pi)
Weitere Antworten (2)
Sulaymon Eshkabilov
am 12 Mai 2023
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)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
