Skip to content

Instantly share code, notes, and snippets.

@benrules2
benrules2 / orbits.py
Created February 10, 2017 23:19
Python RK4 orbits
import math
import random
import matplotlib.pyplot as plot
from mpl_toolkits.mplot3d import Axes3D
class point:
def __init__(self, x,y,z):
self.x = x
self.y = y
self.z = z