liwenhui 发表于 2007-11-17 12:59

[讨论]求一个积分

<p>鄙人在某论坛上见到一道积分题</p><p>输入maltab后运行了近15分钟也没有算出答案。</p><p>揣测是自己的笔记本配置偏低。</p><p>故放在论坛上面来请大家都看看</p><p>希望有高性能计算机者(512M以上内存,主频2.0MHz以上),</p><p>请把下面的代码输入matlab命令窗口中执行,</p><p>运算出结果后请把结果放上面来交流。</p><p>谢谢!</p><p>matlab代码如下:</p><p><font color="#52cc33">syms x z a r;</font></p><p><font color="#52cc33">y=x/((1-x^2)^5*(1+r-2*r^5*cos(z*x+a)));</font></p><p><font color="#52cc33">int(y)</font></p>

madio 发表于 2007-11-18 00:26

<p>我计算了15分钟,有错误提示!</p><p>------------------------------------------------------------------------<br/>       Segmentation violation detected at Sun Nov 18 00:16:46 2007<br/>------------------------------------------------------------------------</p><p>Configuration:<br/>  MATLAB Version:   7.4.0.287 (R2007a)<br/>  MATLAB License:   161051<br/>  Operating System: Microsoft Windows XP<br/>  Window System:    Version 5.1 (Build 2600: Service Pack 2)<br/>  Processor ID:     x86 Family 6 Model 15 Stepping 2, GenuineIntel<br/>  Virtual Machine:  Java 1.5.0_07 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode<br/>  Default Charset:  GBK</p><p>Register State:<br/>  EAX = 84000000  EBX = 00000045<br/>  ECX = 0bdd3060  EDX = 00000001<br/>  ESI = 00000027  EDI = 21814554<br/>  EBP = 1e2614e4  ESP = 00c9ec30<br/>  EIP = 18a1f439  FLG = 00010287</p><p>Stack Trace:<br/>   maple.dll:0x18a1f439(0x84000000, 0x94000002, 0x0c6b806c, 0x84000000)<br/>   0x0bdd9e30</p><p>This error was detected while a MEX-file was running. If the MEX-file<br/>is not an official MathWorks function, please examine its source code<br/>for errors. Please consult the External Interfaces Guide for information<br/>on debugging MEX-files.</p><p>If it is an official MathWorks function, please<br/>follow these steps to report this problem to The MathWorks so we<br/>have the best chance of correcting it:</p><p>The next time MATLAB is launched under typical usage, a dialog box will<br/>open to help you send the error log to The MathWorks. Alternatively, you<br/>can send an e-mail to segv@mathworks.com with the following file attached:<br/>    C:\DOCUME~1\USER\LOCALS~1\Temp\matlab_crash_dump.1776</p><p>If the problem is reproducible, please submit a Service Request via:<br/>    http://www.mathworks.com/support/contact_us/ts/help_request_1.html</p><p>A technical support engineer might contact you with further information.</p><p>Thank you for your help. Save your workspace and restart MATLAB.</p><p>Error in ==&gt; maple at 113<br/> = maplemex(statement);</p><p>Error in ==&gt; sym.maple at 85<br/> = maple(statement);</p><p>Error in ==&gt; sym.int at 39<br/>   r = reshape(maple('map','int',f(:),x),size(f));</p><p>??? Error using ==&gt; sym.double at 25<br/>DOUBLE cannot convert the input expression into a double array.<br/>If the input expression contains a symbolic variable, use the VPA function instead.</p><p>Error in ==&gt; sym.mpower at 21<br/>   if ~isempty(findsym(p)) | p ~= fix(double(p))<br/></p>

摔锅 发表于 2007-11-18 20:18

我的直接卡住了
页: [1]
查看完整版本: [讨论]求一个积分