The assignment: can you simulatethe motion of the bodies in a Binary System with two planets. Here are twoYouTube videos that may help you if you know Python:Gravity Simulatorepisodes 1 and 2,Episode1 - Sun and Earth simulation,Episode 2 -Binary Star System simulation. I think they use Python (I don’t knowPython) and the whole code is not shown but it may point you in the rightdirection.
BOP.m is just to give the parametersto use, like the Masses of the of the Bodies and the Distances between them. Idon’t think that the Periods of the orbits are used in a simulation. Also,Velocity, Angular Momentum, and Total Energy (potential and kinetic) must beincluded in the code. And there needs to bewhileandforloopsinvolved to make it animated.
So, what I need is a simulation ofa Binary System with the Secondary and Primary Stars being a Red Dwarf and aYellow Dwarf (like our Sun), respectively. Like in Episode 2. The Binary Systemhas two planets that are of significance: one is an S-Type (Orbits one of theStars) that orbits the Red Dwarf. Like in Episode 1 - where the S-Type planetreplaces the Earth, and the Red Dwarf replaces the Sun. The other is a P-Type(Circumbinary – Orbits the entire BinarySystem) Orbiting the Center Of Mass of theStar System. Like in Episode 1 - where the P-Type planet replaces the Earth,and the Center Of Mass replaces the Sun.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here