计算物理第8次作业

Name: 贺一珺
Student Number: 2014302290002

Question

  • 3.18 Calculate Poincare section for the pendulum as it undergoes the period-doubling route to chaos. Plot omega versus theta, with one point plotted for each drive cycle, as in Figure 3.9. Do this for F_D =1.4, 1.44 and 1.465, using the other parameters as given in connection in Figure 3.10. You should find that after removing the points corresponding to the initial transient the attractor in the period-1 regime wil contain only a single point. Likewise, if the behavior is period n, the attactor will contain n discrete points.

  • 3.19 Calculate Poincare section for the pendulum but for a frequency with those intrinsic to the system. For example, you might calculate the Poincare sections using an angular frequency omega' that is irrationally related to the driving frequency omega_D (as well as to the natural frequency omega) for your stroboscopic snapshots. Do the results tell you anything about the system?

  • 3.20 Caculate the bifurcation diagram for the pendulum in the vicinity of F_D=1.35 to 1.5. Make a magnified plot of the diagram and obtain the an estimate of the Feignbaum delta parameter.

Abstract

I tried to draw the Poincare section last weed and worked out the plot of attractor. But their are two problems in that homework(I corrected them several days before =w=): the first is that three of those plots are actually in chaos and the plots cannot tell any information about the system; the second question is that the variable dt cannot be devided by integral and that may magnified the error. I corrected those problems in this home work using some tricks and I also bifurcation diagram which made me understand the process to the chaos better. Translation points are also showed directly in this homework. What's more, I tried out vpython and draw 3D model of pendulum using it. There are some difficulties installing it which I 've not solved yet.
Here is a 3D pendulum:

3D pendulum by vpython

Background

I have give a brief introduction to you about the basic knowledge of chaos. But I have to say that it is far from enough. I will introduce you some interesting concrete topics in chaos.

Strange attractors[1]

Some dynamical systems, like the one-dimensional logistic map defined by x → 4 x (1 – x), are chaotic everywhere, but in many cases chaotic behavior is found only in a subset of phase space. The cases of most interest arise when the chaotic behavior takes place on an attractor, since then a large set of initial conditions leads to orbits that converge to this chaotic region.

An easy way to visualize a chaotic attractor is to start with a point in the basin of attraction of the attractor, and then simply plot its subsequent orbit. Because of the topological transitivity condition, this is likely to produce a picture of the entire final attractor, and indeed both orbits shown in the figure on the right give a picture of the general shape of the Lorenz attractor. This attractor results from a simple three-dimensional model of the Lorenz weather system. The Lorenz attractor is perhaps one of the best-known chaotic system diagrams, probably because it was not only one of the first, but it is also one of the most complex and as such gives rise to a very interesting pattern, that with a little imagination, looks like the wings of a butterfly.

Unlike fixed-point attractors and limit cycles, the attractors that arise from chaotic systems, known as strange attractors, have great detail and complexity. Strange attractors occur in both continuous dynamical systems (such as the Lorenz system) and in some discrete systems (such as the Hénon map). Other discrete dynamical systems have a repelling structure called a Julia set, which forms at the boundary between basins of attraction of fixed points. Julia sets can be thought of as strange repellers. Both strange attractors and Julia sets typically have a fractal structure, and the fractal dimension can be calculated for them.

Iterated function system[1]

IFS fractals, as they are normally called, can be of any number of dimensions, but are commonly computed and drawn in 2D. The fractal is made up of the union of several copies of itself, each copy being transformed by a function (hence "function system"). The canonical example is the Sierpiński gasket, also called the Sierpiński triangle. The functions are normally contractive, which means they bring points closer together and make shapes smaller. Hence, the shape of an IFS fractal is made up of several possibly-overlapping smaller copies of itself, each of which is also made up of copies of itself, ad infinitum. This is the source of its self-similar fractal nature.
Here is an example:

Menger sponge (IFS)

Crutial points

  • To solve the problem in last homework, I checked my code and found a mistake: when picking up points that satisfied the peroid condition, I added the phase factors to a wrong place which made the diagrem collapse.
  • The first several points make no contribution to curve drawn by static points actually. Thus they can be omitted.
  • The peroid of force cannot be devided by time step dt. Thus in every peroid there will be some error. As time goes by, those error will accumulate to a number that should not be neglected. I change the magnitude of the time step dt in this homework to meet the requirement of peroid.

Plotting

3.18

Here is the code 1
Here is the code 2
Here is the code 3

Initial conditions

Initial angle: 0.2 rad
Initial angular velocity: 0 rad/s
Length of pendulum: 9.8m
Frequency of force: 2/3
Magnitude of force: 1.4
Poincare sections:

F_D=1.4
Initial conditions

Initial angle: 0.2 rad
Initial angular velocity: 0 rad/s
Length of pendulum: 9.8m
Frequency of force: 2/3
Magnitude of force: 1.44
Poincare sections:

F_D=1.44
Initial conditions

Initial angle: 0.2 rad
Initial angular velocity: 0 rad/s
Length of pendulum: 9.8m
Frequency of force: 2/3
Magnitude of force: 1.465
Poincare sections:

F_D=1.465

Conclusion

The peroids of pendulums with different magnitude of force are shown directly in this graph:


It can be easily seen that the peroid double as the magnitude of F_D increase, which is coninsident with what are tought in Poincare section.

3.19

I tried five different number as the peroid of Poincare section, here are results:

Peroid = 2pi
2pi
Peroid = 4pi
4pi
Peroid = 6pi
6pi
Peroid = 8pi
8pi
Peroid = 10pi
10pi

Conclusion

In this problem we use various peroids which differ from that of force. I found that when the peroid we choose have nothing to do with the peroid of force, no regularity can be worked out except those peroid irrational to the force. (6pi)

3.20

In this problem I try to draw the bifurcation diagram in which we can seen the change of peroid as the whole system going to state of chaos.

Original diagrem
Original diagrem
Magnified diagrem 1
Magnified diagrem 1
Magnified diagrem 2
Magnified diagrem 2
Magnified diagrem 3
Magnified diagrem 3

Conclution

I must apologize here that it took too long for my computer to work out the diagrem or I could use a higher precision and a clearer regularity of the process to the chaos could be shown directly in the graphs. Those pictures actually work like iterated function system which demostrate the causasion of chaos.

Acknowledge

  1. wikipedia
  2. My classmate Shuxu Hu(胡塾绪) who helped me on the drawing using vpython.
  3. Prof.Cai

How to contact me

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 203,456评论 5 477
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,370评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,337评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,583评论 1 273
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,596评论 5 365
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,572评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,936评论 3 395
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,595评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,850评论 1 297
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,601评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,685评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,371评论 4 318
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,951评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,934评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,167评论 1 259
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 43,636评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,411评论 2 342

推荐阅读更多精彩内容