matlab 能救救我

来源:百度知道 编辑:UC知道 时间:2024/09/21 10:50:12
用matlab解微分方程
y''-a*根号下(1+y'^2)再/VX =0的matlab运行程序,还有
当x=d时,y=0
当x=d时,y’=0
(谢谢老)我在线等,

>> y=dsolve('D2y-a*sqrt(1+(Dy)^2)/(V*t)=0','y(d)=0','Dy(d)=0')

y =

-1/2*t*V/(V+a)*t^(a/V)/(d^(a/V))-1/2*t*V/(-V+a)/(t^(a/V))*d^(a/V)+d*V*a/(-V^2+a^2)
1/2*t*V/(V+a)*t^(a/V)/(d^(a/V))+1/2*t*V/(-V+a)/(t^(a/V))*d^(a/V)-d*V*a/(-V^2+a^2)

不能用dsolve吧,这好像是个非线性的方程,而且没有什么特殊的。我觉得要用ODE函数吧。你在MATLAB命令行里面help ode45吧。仔细看,这个问题你能解决的,很简单的。提示下,是个二维的方程,要设x1=y',x1'=y''.

帮助中查 dsolve 例子全有