N
nekin
Unregistered / Unconfirmed
GUEST, unregistred user!
这是偶同学的作业(很重要的一次作业),怎么看都没有想出一个头绪出来,所以还请各位大虾多指点一下小弟了。[B)]
In this project, the student will "solve" the three body problem.In this case the "solution" is to simulate a two dimensional(空间的) planetary(行星的) system under Newtonian(牛顿学说的) gravity(重力) with at least three bodies.(For example, the Earth, Sun, Moon system).The simplest possible simulation method is as follows:
1) Select a small "time step" to be used for simulation.
2) Specify masses and initial(最初的) positions and velocities(周转率) for each of the three bodies.
3) Move each of the bodies by a small amount according to its velocity and the time step.
4) Change the velocity of each of the bodies by a small amount according to its acceleration(加速度 ) and the time step.
5) Goto 3.
By printing the positions of the bodies in each time step, we can have a graphical display of how the system might evolve.Additional parts to the project might be:
i) Generalising(推广) to the 'n' body problem in three dimensions(维度).
ii) Investigating(研究,分析) the stability(稳定性) of the simulation according to the time-step.
iii) Investigation of the chaotic(混乱的,无序的) nature of three body systems.
iv) Creating a whole solar system.
In this project, the student will "solve" the three body problem.In this case the "solution" is to simulate a two dimensional(空间的) planetary(行星的) system under Newtonian(牛顿学说的) gravity(重力) with at least three bodies.(For example, the Earth, Sun, Moon system).The simplest possible simulation method is as follows:
1) Select a small "time step" to be used for simulation.
2) Specify masses and initial(最初的) positions and velocities(周转率) for each of the three bodies.
3) Move each of the bodies by a small amount according to its velocity and the time step.
4) Change the velocity of each of the bodies by a small amount according to its acceleration(加速度 ) and the time step.
5) Goto 3.
By printing the positions of the bodies in each time step, we can have a graphical display of how the system might evolve.Additional parts to the project might be:
i) Generalising(推广) to the 'n' body problem in three dimensions(维度).
ii) Investigating(研究,分析) the stability(稳定性) of the simulation according to the time-step.
iii) Investigation of the chaotic(混乱的,无序的) nature of three body systems.
iv) Creating a whole solar system.