Exercise_10

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Kepler's law

? ? ? ? ? ?Precession of the perihelion of Mercury

Abstract

Our planet we are living in the solar system.How are the planets working??

This time we are going to study our hypothetical solar system. There are 8 planets, which is similar with earth. And the only force in this problem is gravity. So Kepler's law is our tool.

Background

We can use the equation below

and this is the way we use to approximate the orbit

For our solar system case, the solution can be expressed as


Main body


We can create the simulation of solar system rotation. ? ?



This is the data of every planet

The code for the image

The two body problem

We can simply consider a planet-sun system as a two_body problem

The code for the image


Mercury Problem


But for the more precise simulation of the movement of Mercury, we use the force law predicted by general relativity.That is


where the Mm is the mass of Mercury and the a is 1.1x10e-8 ?AU^2


The code for image

When beta=2

And beta=2.5


beta=5


And we can see the change in perihelion of Mercury

When alpha=0.0008

When alpha=0.004


Conclusion

When we change beta of the simulation, there will be an obvious procession in the simulation.

When alpha increase, the slope of perihelion of Mercury would become more steep.

Reference

Thanks for Tan shan's code?

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末喘批,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌硬毕,老刑警劉巖朴则,帶你破解...
    沈念sama閱讀 218,036評(píng)論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件爽丹,死亡現(xiàn)場離奇詭異勤篮,居然都是意外死亡乳附,警方通過查閱死者的電腦和手機(jī)闯捎,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,046評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來许溅,“玉大人瓤鼻,你說我怎么就攤上這事∠椭兀” “怎么了茬祷?”我有些...
    開封第一講書人閱讀 164,411評(píng)論 0 354
  • 文/不壞的土叔 我叫張陵,是天一觀的道長并蝗。 經(jīng)常有香客問我祭犯,道長秸妥,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,622評(píng)論 1 293
  • 正文 為了忘掉前任沃粗,我火速辦了婚禮粥惧,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘最盅。我一直安慰自己突雪,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,661評(píng)論 6 392
  • 文/花漫 我一把揭開白布涡贱。 她就那樣靜靜地躺著咏删,像睡著了一般。 火紅的嫁衣襯著肌膚如雪问词。 梳的紋絲不亂的頭發(fā)上督函,一...
    開封第一講書人閱讀 51,521評(píng)論 1 304
  • 那天,我揣著相機(jī)與錄音激挪,去河邊找鬼辰狡。 笑死,一個(gè)胖子當(dāng)著我的面吹牛垄分,可吹牛的內(nèi)容都是我干的宛篇。 我是一名探鬼主播,決...
    沈念sama閱讀 40,288評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼锋喜,長吁一口氣:“原來是場噩夢啊……” “哼些己!你這毒婦竟也來了豌鸡?” 一聲冷哼從身側(cè)響起嘿般,我...
    開封第一講書人閱讀 39,200評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎涯冠,沒想到半個(gè)月后炉奴,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,644評(píng)論 1 314
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡蛇更,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,837評(píng)論 3 336
  • 正文 我和宋清朗相戀三年瞻赶,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片派任。...
    茶點(diǎn)故事閱讀 39,953評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡砸逊,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出掌逛,到底是詐尸還是另有隱情师逸,我是刑警寧澤,帶...
    沈念sama閱讀 35,673評(píng)論 5 346
  • 正文 年R本政府宣布豆混,位于F島的核電站篓像,受9級(jí)特大地震影響动知,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜员辩,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,281評(píng)論 3 329
  • 文/蒙蒙 一盒粮、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧奠滑,春花似錦丹皱、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,889評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至弃甥,卻和暖如春爽室,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背淆攻。 一陣腳步聲響...
    開封第一講書人閱讀 33,011評(píng)論 1 269
  • 我被黑心中介騙來泰國打工阔墩, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人瓶珊。 一個(gè)月前我還...
    沈念sama閱讀 48,119評(píng)論 3 370
  • 正文 我出身青樓啸箫,卻偏偏與公主長得像,于是被迫代替她去往敵國和親伞芹。 傳聞我的和親對(duì)象是個(gè)殘疾皇子忘苛,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,901評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容