The Int command returns my original code
이전 댓글 표시
When I type in the following code:
syms x y;
f=(2+cos(x))*cos(x)+(2+cos(y))*(sin(x))+sin(x);
fx=diff(f,x);
fy=diff(f,y);
s=int(int(sqrt(fx^2+fy^2+1),x,0,2*pi),y,0,2*pi)
the console returns this:
int(int(((cos(x) - cos(x)*sin(x) + cos(x)*(cos(y) + 2) - sin(x)*(cos(x) + 2))^2 + sin(x)^2*sin(y)^2 + 1)^(1/2), x, 0, 2*pi), y, 0, 2*pi)
instead of the actual output.
댓글 수: 1
Walter Roberson
2016년 5월 3일
Is that a surface area computation? Most surface areas do not have closed forms. Sometimes you get lucky and there is an expression using Elliptic Integrals.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!