Python script to calculate the path of a projectile and output a csv of coordinates