请问如何求解如下图含有符号的二重积分?新手求指导万分感谢
mathematica吧
全部回复
仅看楼主
level 1
刘轩芬达 楼主
mathematica中输入如下:
q1 = (1/2*\[Pi]) \!\(
\*SubsuperscriptBox[\(\[Integral]\), \(\(-L\)/2\), \(L/2\)]\(
\*SubsuperscriptBox[\(\[Integral]\), \(\(-W\)/2\), \(W/
2\)]\((\((0.5*d + s -
0.5*d*sin \((theta)\))\)/\([\((\((u -
0.5 d*cos \((theta)\))\)^2)\) + \((\((0.5*d + s -
0.5*d*sin \((theta)\))\)^2)\) + \((\((z -
r)\)^2)\)]\)^\((3/
2)\))\) \[DifferentialD]u \[DifferentialD]r\)\)
2021年09月09日 08点09分 1
level 1
刘轩芬达 楼主
mathematica输入如下:
SetAttributes[L, Constant];
SetAttributes[W, Constant];
SetAttributes[d, Constant];
SetAttributes[s, Constant];
SetAttributes[theta, Constant];
SetAttributes[
z, Constant];
q1 = (1/2*\[Pi]) \!\(
\*SubsuperscriptBox[\(\[Integral]\), \(\(-L\)/2\), \(L/2\)]\(
\*SubsuperscriptBox[\(\[Integral]\), \(\(-W\)/2\), \(W/
2\)]\((\((0.5*d + s -
0.5*d*sin \((theta)\))\)/\([\((\((u -
0.5 d*cos \((theta)\))\)^2)\) + \((\((0.5*d + s -
0.5*d*sin \((theta)\))\)^2)\) + \((\((z -
r)\)^2)\)]\)^\((3/
2)\))\) \[DifferentialD]u \[DifferentialD]r\)\)
输入为什么报错呢?
2021年09月09日 09点09分 2
吧务
level 10
语法错误。
Mathematica中,方括号用于输入函数的参数,而不是用于调整运算符的结合。
2021年09月10日 07点09分 3
此外,sin(theta)将被解释为sin*theta。你需要的应该是Sin[theta]
2021年09月10日 07点09分
Constant设置不起作用。Integrate本来就不会考虑那些符号的变化。
2021年09月10日 07点09分
@asdasd1dsadsa 好的谢谢您,那请问您这种带有常数符号的积分运算直接运行就可以得到积分结果的表达式吗
2021年09月10日 08点09分
@刘轩芬达 帮助文档里多的是
2021年09月10日 10点09分
1