MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   Mathematica论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=34)
-   -   [问题] Mathematica解微分方程不正确 (https://www.labfans.com/bbs/showthread.php?t=12486)

superfsy 2011-01-22 15:28

Mathematica解微分方程不正确
 
input:=Clear[s, g, t, c0, k];
DSolve[{-s'[g] == k s[g]/(1 - g), s[0] == s0}, s[g], g]
output:={{s[g] -> (-1)^-k (-1 + g)^k s0}}

实际用分离变量手动计算的话解应该是:
s[g]=s0(1-g)^k

请达人指教!

swiftcore 2011-02-17 09:09

回复: Mathematica解微分方程不正确
 
我手工解的是软件的解,要不你再算下。


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

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