This is some math. HAve fun.