@2014301020081
2016-11-21T01:31:35.000000Z
字数 1185
阅读 491
Defeng kong 2014301020081
题目3.30 要求我们得出不同值下,stadium billiard 的 lyapunov exponent,因为题3.30需要用到教材上figure3.22等的程序,本次作业先依次输出教材上figure3.22,3.23,3.25等的图,最后给出不同下题目3,30的解。
Investigate the Lyapunov exponent of the stadium billiard for several values of.You can do this qualitatively by examining the behavior for only one set o initial conditions for each value of you consider,or more qualitatively by averaging over a range of initial conditions for each value of .
碰撞中要处理好碰撞前后速度的变化,有速度关系:
利用这个关系式我们可以这样处理:
如果知道碰撞前位置(x,y),碰撞前速度(vx,vy),可得碰撞后速度(vx_r,vy_r):
m=(vx*x+vy*y)/np.sqrt(x**2+y**2)
vx_r=vx-2.0*m*x/np.sqrt(x**2+y**2)
vy_r=vy-2.0*m*y/np.sqrt(x**2+y**2)
return vx_r,vy_r
对单位圆内弹性碰撞图:
源代码
可以看出图像非常对称,没有混沌现象。
其在y=0时 Phase-space 图为:
源代码
对于=0.01碰撞图:
源代码
可以看出出现混沌现象。
其在y=0时 Phase-space 图为:
源代码
对于=0.01,起始位置相差0.00001的两个碰撞系统,其相对距离随时间的函数为:
源代码
可见是呈指数增长关系(lyaunov exponent)。
对于其他=0.1,0.05,0.001,起始位置相差0.00001的情况,各图如下:
源代码
除=0.001外,其他皆呈指数关系,对=0.001,其混沌现象已经不明显了,显示出规律性。
ppt,教材,网上教程。