Double Integral

Double Integral - 消息

#1 已发布: 2025/8/27 07:23:18
Ela Ayca Kocoglu

Ela Ayca Kocoglu

0个赞,共1个帖子。

组: User

hello everyone!! I wanted to ask how can I write these double ıntegrals in Smath ??

u(x,y):U1*sin({3*π}/2*x-{3*π}/4)*sin({3*π}/2*y-{3*π}/4)

U1 is one and I already identified above.

int(int(diff(u(x,y),x)*diff(u(x,y),x),y,0,b),x,0,a)

a and b is also defined above.

I couldn't do a double integral with only two variables.

thank you
#2 已发布: 2025/8/27 09:33:08
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

The Simpson rule in SMath doesn't handle double integrals even if the variable is the same.

You can use some CAS interface like Maxima.

If you want a numeric solution, in your case you could use Gauss quadrature, which is easy as you have a rectangular region.

image.png

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
3位用户喜欢此帖子
ioan92 2025/8/27 09:44:53, sergio 2025/8/27 13:27:03, francesco rapuano 2025/8/28 05:52:36
  • 有新帖
  • 无新帖