题目
用matlab解Lorenz微分方程组的问题
dx/dt=a(y-x)
dy/dt=rx-y-xz
dz/dt=-bx+xy
解微分方程的时候出现问题
S=dsolve('Dx=10*(y-x)','Dy=28*x-y-x*z','Dz=-2.6*x+x*y','x(0)=1','y(0)=2','z(0)=3');
disp([S.x,S.y,S.z])
Warning:Explicit solution could not be found.
> In dsolve at 333
Access to an object's fields is only permitted within its methods.
dx/dt=a(y-x)
dy/dt=rx-y-xz
dz/dt=-bx+xy
解微分方程的时候出现问题
S=dsolve('Dx=10*(y-x)','Dy=28*x-y-x*z','Dz=-2.6*x+x*y','x(0)=1','y(0)=2','z(0)=3');
disp([S.x,S.y,S.z])
Warning:Explicit solution could not be found.
> In dsolve at 333
Access to an object's fields is only permitted within its methods.
提问时间:2021-03-13
答案
没有解析解,就计算数值解吧.function myode45[t,xyz]=ode45(@fun,0:1,[1 2 3]) % 'x(0)=1','y(0)=2','z(0)=3'); plot(t,xyz)function f=fun(t,X)x=X(1);y=X(2);z=X(3);dx=10*(y-x);dy=28*x-y-x*z;dz=-2.6*x+x*y;f=[d...
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 1You must return this book if you want to borrow ______.(选择题)
- 2人遇逆境,无可奈何,而安之若命,是见识超群.然君子用以力学,借困衡为砥砺,不但顺受而已.是何意?
- 3函数y=2x是偶函数还是奇函数
- 4怎样才能将一个圆的周长平均分成16等份(只用圆规)?
- 5There are four windows in my house的同义句
- 6it makes her very sad when she thinks of her grandpa’s ( die )
- 7在课本《尊严》中,描写哈默这位年轻人的外貌、动作和语言的句子有哪些?
- 8设int x=5,y=6;则表达式(++x==y--)?++x:y的值为()这是一个填空题,请解释下式子的含义和答案,
- 9从we you she their中找出不同类的单词
- 10如何根据图像写出一次函数值大于(或小于)反比例函数值的x取值范围(详细点啊)
热门考点