作业帮 > 数学 > 作业

用Mathematica解方程

来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:数学作业 时间:2024/04/28 18:19:09
用Mathematica解方程
f'''[x] +0.5 f[x] f''[x]=0,初始条件是f[0] == 0,f'[0] == a,f'[10] == 1 - a.
哪位高手给用Mathematica给解一下
用Mathematica解方程
s = With[{a = 1(*你设定的a值*)},
NDSolve[{f'''[x] + 0.5 f[x] f''[x] == 0,f[0] == 0,f'[0] == a,
f'[10] == 1 - a},f[x],{x,0,10(*你设定的x范围*)}]];
Plot[f[x] /.s,{x,0,10(*你设定的x范围*)}]
这个微分方程用电脑好像解不出来