MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]一个解方程的问题 (https://www.labfans.com/bbs/showthread.php?t=5077)

joker_gf 2008-10-30 22:47

[求助]一个解方程的问题
 
>> solve('-pi/2-atan(2*x/(25-x^2))=-pi')
Warning: Explicit solution could not be found.
> In solve at 140

ans =

[ empty sym ]

我要解这个方程,系统说是无解
但是我把pi用3.14代替,又有解了。。。

>> solve('-1.57-atan(2*x/(25-x^2))=-3.14')

ans =

-5.0007963903768860882648950427433
4.9992037364504395787507650424125

这是为什么呢?


所有时间均为北京时间。现在的时间是 12:46

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.