- 积分
- 15
- 注册时间
- 2008-7-20
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2009-12-2 10:20:53
|
显示全部楼层
来自 黑龙江哈尔滨
本帖最后由 TBE_Legend 于 2009-12-2 10:26 编辑
http://bb.3861.com.cn/attachment/200911/30/59857_1259572831m44F.jpg
A,B,C,k,h,m均为非零常数,x0>0.
新手,不知如何编写?望大侠救助。
jelin 发表于 2009-12-2 09:12
解不出来。-
- Clear["Global`*"]
- a = b = c = k = h = m = 1;
- NDSolve[{x^2 D[y[x, t], {x, 2}] + 2 x D[y[x, t], x] + a x^2 y[x, t] +
- b x^2 D[y[x, t], t] == c/x^2, y[x, 0] == 1, y[10^50, t] == 10^-5,
- Derivative[1, 0][y][1, t] == y[x, t] + m},
- y[x, t], {x, 1, 2}, {t, 0, 1}]
复制代码 不带入任何初边值条件,maple能帮你分解成ode,试试这个ode吧。
restart;
pde:=x^2*diff(y(x,t),x,x)+2*x*diff(y(x,t),x)+A*x^2*y(x,t)+B*x^2*diff(y(x,t),t)=C/x^2;
simplify(pdsolve(pde),size,build);
- restart;
- pde:=x^2*diff(y(x,t),x,x)+2*x*diff(y(x,t),x)+A*x^2*y(x,t)+B*x^2*diff(y(x,t),t)=C/x^2;
- simplify(pdsolve(pde),size,build);
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|