필터 지우기
필터 지우기

Integration with Symbolic Variables

조회 수: 2 (최근 30일)
Furkan KORKMAZ
Furkan KORKMAZ 2023년 5월 12일
댓글: Furkan KORKMAZ 2023년 5월 14일
Hi,
I have a problem like that. How can i solve this?
  댓글 수: 3
Furkan KORKMAZ
Furkan KORKMAZ 2023년 5월 12일
Sorry, this is my wrong. Firstly, i was thinking double integration but after that i was simplfy my problem like that.
Dyuman Joshi
Dyuman Joshi 2023년 5월 14일
@Furkan KORKMAZ please check the answers posted below.

댓글을 달려면 로그인하십시오.

채택된 답변

VBBV
VBBV 2023년 5월 12일
syms theta r
a=10;
x=a*(1-cos(theta));
y=a*(1-sin(theta));
r=sqrt(x^2+y^2)
r = 
I = vpaintegral(r,0,2*pi)
I = 
100.367

추가 답변 (2개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 5월 12일
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)
INT_F = 100.3668

Furkan KORKMAZ
Furkan KORKMAZ 2023년 5월 14일
편집: Furkan KORKMAZ 2023년 5월 14일
Thank you for your answers. However, I think I'm getting erroneous results because of the information I gave incomplete. I'm correcting my question.

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by