[关闭]
@Guoguo0605 2016-06-21T23:50:31.000000Z 字数 1402 阅读 1719
  • 作业 4.7 4.9 4.11

Homework 11 - The Solar System

ComputationalPhysics_HW 岳绍圣2013301020033


此处输入图片的描述

CONTENT:

Abstract

This article call a model for a nonlinear, damped, driven pendulum. And shows the particular properties that not exists in simple pendulum——chaos. we also changed a small amount of initial conditions, and found a exponential change afterwards. Poincare section is plotted to identify the chaos state. Also, bifurcation diagram is given to show the transistion from nonchaos to chaos.

Background

"Friction" in system always obscures the fundamental physical principles that dominate the behavior of the system we study. So a system without friction, or with small friction is needed to figure out the essential consequences of these peinciples. And we choose the Solar system here.

Our goal is to calculate the position of Earth as a function of time.

The Solar System

This program is heavily commented to provide a detailed explainiation of the purpose of each line of code. This particular simulator uses the Euler method of approximating solutions to the ODEs for the motion of the planetary bodies.

The force each body feels is calculated at each timestep using Newton's law of universal gravitation, which is then used to determine acceleartion. Then, using Euler's method, we are able to approximate velocity and position in a manner that appears realistic.

5794ac181c5f4c00a5e1f3226036b70b.gif

Codes

All these codes used can be found in Github.

Reference

1: Cai Hao. https://github.com/caihao/computational_physics_whu.
[2]: Nicholas J.Giordano, Hisao Nakanishi.Computational physics.清华大学出版社

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注