nx cae高级仿真求解。。。。。

&& 查看话题
求解一个双重积分,谢谢
求解下面这个积分,急求啊,最好有过程啊,matlab可以解么,程序怎么写啊 ,谢谢啊
{D67D-4EFD-B69FAD}.jpg
Ans: L1 * L2
思想:x=r*cos(a), y=r*sin(a) 换成极坐标运算啊!应该不是很难吧!自己带进算算! : Originally posted by qibao3ban at
Ans: L1 * L2
思想:x=r*cos(a), y=r*sin(a) 极坐标用不了,您说的这种适合圆形区域,我的是正方形区域,不能用这种方法啊 : Originally posted by 皖西笨猪头 at
换成极坐标运算啊!应该不是很难吧!自己带进算算! 我的是正方形区域,不是圆形等区域,用不了极坐标 这个问题得不到解析形式,用matlab写程序如下:syms x y l1 l2; f=1./sqrt(x.^2+y.^2);int(int(f,x,0,a),y,0,b);运行程序你会发现系统提示你: Explicit integral could not be found(无法得到直接的解析解).
不过如果想要得到数值解,可以参考使用quad2d函数,不过有字母的情况下依然得不到解,因此需要明确l1和l2的具体数值。比如令l1=2,l2=3;你可以写成如下程序:quad2d(@(x,y) 1./sqrt(x.^2+y.^2),0,2,0,3),运行立刻得到计算结果:4.2650。
当然,上面说的都是基于计算机求解,我觉得最好还是手动熟悉一下这个过程,把直角坐标系转换为极坐标系,就会很简单,2楼已经提到。不知上述回答能否帮到你?有问题可以继续联系我。 正方形也可以的,你到网上找找这样的题参考一下!如果极坐标的(0,0)是正方形的一个顶点,正方形边长是a,这个积分等于两倍的——这个积分:⊙的范围是0到45度,r的范围是0到a/cos⊙!手机打字好累啊…… 用极坐标做,不难,但有点繁:
分成两个区域上的积分. 第一个积分⊙的范围是0到arctan(l2/l1), r的范围是0到 l1/cos⊙;
第二个积分⊙的范围是arctan(l2/l1)到\pi/2, r的范围是0到 l2/sin⊙.
积分是非常简单的, 但把上下限代进去算的时候有点繁,你自己算吧 Please useMathematica . Your integral is a simple for mathematica 9.
integral.png : Originally posted by kanger0 at
用极坐标做,不难,但有点繁:
分成两个区域上的积分. 第一个积分⊙的范围是0到arctan(l2/l1), r的范围是0到 l1/cos⊙;
第二个积分⊙的范围是arctan(l2/l1)到\pi/2, r的范围是0到 l2/sin⊙.
积分是非常简单的, 但把 ... 谢谢您的回答,我按照您的提示计算了 ,但是我有点疑问,第一部分 和第二部分区域是对称的,为什么不能直接用某一部分的结果乘以2倍呢,而且第二部分积分r的范围为什么不能是l1/cosΘ呢,l2/sinΘ是等于l1/cosΘ的,但是积分结果是完全不同的,期待您的进一步指教,谢谢。 : Originally posted by 韩D小希 at
谢谢您的回答,我按照您的提示计算了 ,但是我有点疑问,第一部分 和第二部分区域是对称的,为什么不能直接用某一部分的结果乘以2倍呢,而且第二部分积分r的范围为什么不能是l1/cosΘ呢,l2/sinΘ是等于l1/cosΘ的 ... 如果l1=l2, 那就是正方形区域,这个时候可以用对称性解决。 但当l1 不等于 l2 时,这个对称性可能有问题,应该不能简单地用一部分的结果乘以2倍,需要仔细考虑。
l2/sinΘ与l1/cosΘ显然不是对所有Θ都相等。 : Originally posted by 韩D小希 at
谢谢您的回答,我按照您的提示计算了 ,但是我有点疑问,第一部分 和第二部分区域是对称的,为什么不能直接用某一部分的结果乘以2倍呢,而且第二部分积分r的范围为什么不能是l1/cosΘ呢,l2/sinΘ是等于l1/cosΘ的 ... 不是l1=l2的话,怎么会是对称的? : Originally posted by kanger0 at
如果l1=l2, 那就是正方形区域,这个时候可以用对称性解决。 但当l1 不等于 l2 时,这个对称性可能有问题,应该不能简单地用一部分的结果乘以2倍,需要仔细考虑。
l2/sinΘ与l1/cosΘ显然不是对所有Θ都相等。... 您看我下面的图片,即使l1不等于l2,但是区域面积都是一样的,也是对称的吧
{9FA-472D-9BBB-17F4BE8FEFCE}.jpg : Originally posted by 韩D小希 at
您看我下面的图片,即使l1不等于l2,但是区域面积都是一样的,也是对称的吧
{9FA-472D-9BBB-17F4BE8FEFCE}.jpg
... 你别忘了还有被积函数, 被积函数在这两个区域上具有对称性吗? : Originally posted by longhua_nudt at
这个问题得不到解析形式,用matlab写程序如下:syms x y l1 l2; f=1./sqrt(x.^2+y.^2);int(int(f,x,0,a),y,0,b);运行程序你会发现系统提示你: Explicit integral could not be found(无法得到直接的解析解).
不过 ... 已解决 谢谢您帮助 : Originally posted by 皖西笨猪头 at
正方形也可以的,你到网上找找这样的题参考一下!如果极坐标的(0,0)是正方形的一个顶点,正方形边长是a,这个积分等于两倍的——这个积分:⊙的范围是0到45度,r的范围是0到a/cos⊙!手机打字好累啊…… 谢谢您帮助 解决了 : Originally posted by kanger0 at
你别忘了还有被积函数, 被积函数在这两个区域上具有对称性吗?... 谢谢您 已解决用户登录 |
密&&&&码:
记住用户名
下次自动登录
&&建议您只在个人私有的电脑上使用此选项。
绑定第三方账号登录&&
扫描二维码登录支持中心移动端
You are here:
P##IN20 求解
手机登录找答案
热点活动:
已解决问题:
P##IN20 求解
L&&&&&P##IN20&&&&&&LAR1&&我想问,若IN20指向DB10.DBX0.0,上述语句装载进LAR1的,是指向DB10.DBX0.0的指针,还是DB10.DBX0.0的值,&&&L&&P#IN20&&与&&L&&&P##IN20区别在哪?
产品版区:
悬赏分:5 | 解决时间: 23:40:45 | 提问者: -
问题ID:86987
1、若IN20指向DB10.DBX0.0,上述语句装载进LAR1的,是指向DB10.DBX0.0的指针,还语句装载进LAR1的那要看你后面是否用指针间接寻址,和你的程序设计情况而定,若指针间接寻址,则语句装载进LAR1的是指向DB10.DBX0.0的指针,若只是想把DB10.DBX0.0的值用来进行数据处理,则语句装载进LAR1的,是DB10.DBX0.0的值2、L&&P#IN20&&与&&L&&&P##IN20的区别在于P#IN20&中IN20是个实参地址,里面是一定数值,相当于P#10.0,此时IN20的值等于10.0,此寻址用于指针的的跳转。P##IN20中#IN20是你在局部变量中定义的形参,是个可以变化的变量。此寻址好处其组成的程序可以用来多次调用用于不同控制对象的类似功能。
提问者对于答案的评价:谢谢了!传道授业解惑啊&!!
最佳答案网友评论
有个基本问题:P#IN20这种写法对??
评论者: -
已阅,最佳答案正确。
置评专家:西门子自动化技术支持& 16:56:41
本版精华问答
等待您来回答
作者/最新回复
最后回复时间
L&&&&&P##IN20LAR1&&1、若IN20参数类型为POINTER或ANY指针,则指向对应地址的首地址,上述语句实现是指向DB10.DBX0.0的指针。L&&P#IN20&&与&&L&&&P##IN202、一般前者用于FB中对自身背景数据块中数据的寻址,而后者主要是指针作为FB或FC的接口参数的应用。
& 16:57:37
楼主,如果IN20为一个参数不知道你的P#IN20从何而来?能输入P#IN20吗?肯定都是P##IN20的。是指向IN20的首地址的。
& 17:51:39
一个是指针,一个是不是指向指针的地址?
& 20:42:16
上一页1下一页&
20秒帮我们优化支持中心!
欢迎您访问支持中心!
丰富的视频,全方位的文档,大量的网友交流精华……
为了更好的完善这些内容,我们诚邀您在浏览结束后,花20秒左右的时间,完成一个用户在线调查!
感谢您的支持!
欢迎您来到找答案
在“找答案”,已有超过7万个被解决的技术问题供您参考!
西门子技术专家亲自把关!常规的,简单的问题,在这里您都可以找到答案!
遇到了问题,就来“找答案”提问。
点击搜索框右侧的提问按钮,只需2步就能成功提交问题!分分钟就有无数大侠前来帮你。
在“找答案”每天都有大量的新问题。
别犹豫,只需要点击问题下方的“我要回答”就能参与。答题不光有积分相送,也会给您积攒大侠人气。
“找答案”定期开展各种有奖活动期待您的参与。
更有机会参加西门子高端用户峰会。领略西门子的博大精深!Mobile Apps
Engineering, R&D
Web & Software
Finance, Statistics & Business Analysis
Find an Answer
Ask for Help
Guided Learning
Premium Support
Work with Us
Initiatives
BUILT-IN WOLFRAM LANGUAGE SYMBOL
[expr,vars]attempts to solve the system expr of equations or inequalities for the variables vars.
[expr,vars,dom]solves over the domain dom. Common choices of dom are , , and .
The system expr can be any logical combination of:
lhs==rhsequations
lhs!=rhsinequations
inequalities
expr∈domdomain specifications
{x,y,…}∈regregion specification
[x,cond,expr]universal quantifiers
[x,cond,expr]existential quantifiers
[{expr1,expr2,…},vars] is equivalent to [expr1&&expr2&&…,vars].
A single variable or a list of variables can be specified.
gives solutions in terms of rules of the form:
{}no solutions
{{x-&solx,y-&soly,…},…}several solutions
{{}}solution set is full dimensional
When a single variable is specified and a particular root of an equation has multiplicity greater than one,
gives several copies of the corresponding solution.
[expr,vars] assumes by default that quantities appearing algebraically in inequalities are real, while all other quantities are complex.
[expr,vars,dom] restricts all variables and parameters to belong to the domain dom.
If dom is , or a subset such as
or , then all constants and function values are also restricted to be real.
[expr&&vars∈,vars,] solves for real values of variables, but function values are allowed to be complex.
[expr,vars,] solves Diophantine equations over the integers.
[…,x∈reg,] constrains x to be in the region reg. The different coordinates for x can be referred to using [x,i].
Algebraic variables in expr free of the
and of each other are treated as independent parameters.
deals primarily with linear and polynomial equations.
When expr involves only polynomial equations and inequalities over real or complex domains, then
can always in principle solve directly for all the .
When expr involves transcendental conditions or integer domains,
will often introduce additional parameters in its results.
can give explicit representations for solutions to all linear equations and inequalities over the integers and can solve a large fraction of Diophantine equations described in the literature.
When expr involves only polynomial conditions over real or complex domains, [expr,vars] will always be able to eliminate quantifiers.
gives generic solutions only. Solutions that are valid only when continuous parameters satisfy equations are removed. Other solutions that are only conditionally valid are expressed as
Conditions included in
solutions may involve inequalities,
statements, equations and inequations on non-continuous parameters, and equations with full-dimensional solutions. Inequations and
conditions on continuous parameters and variables are dropped.
uses non-equivalent transformations to find solutions of transcendental equations and hence it may not find some solutions and may not establish exact conditions on the validity of the solutions found.
uses special efficient techniques for handling sparse systems of linear equations with approximate numerical coefficients.
The following options can be given:
whether to use explicit radicals to solve all cubics
how to name parameters that are generated
whether to use symbolic inverse functions
0how many extra equational conditions on continuous parameters to allow
what method should be used
0modulus to assume for integers
whether to use explicit radicals to solve all quartics
whether to verify solutions obtained using non-equivalent transformations
precision to be used in computations
With -&, only solutions that require the minimal number of equational conditions on continuous parameters are included.
With -&, solutions that require arbitrary conditions on parameters are given and all conditions are included.
With -&k, only solutions that require at most k equational conditions on continuous parameters are included.
uses only equivalent transformations and finds all solutions.
[eqns,…,Modulus-&m] solves equations over the integers modulo m. With -&,
will attempt to find the largest modulus for which the equations have solutions.
Solve a quadratic equation:
Solve simultaneous equations in
Solve an equation over the reals:
Solve an equation over the positive integers:
Solve equations in a geometric region:
                                 
Introduced in 1988 (1.0) | Updated in 2014 (10.0)
Please complete this field.
Name (optional)
Email address (optional)
Send Feedback
For Customers
Public Resources
Enable JavaScript to interact with content and submit forms on Wolfram websites.}

我要回帖

更多关于 结构力学求解器 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信