...
Have the parameters be easily controllable (i.e. not in the script itself but be passable to the script)- Have control over the distances between the velocities and elevations
- Be able to take in time separated velocities instead of distance separated ones
- Clearly named variables (i.e. split up Ff, Fdrag and Fg)
- Accounting for acceleration
- In Line comments explaining what you're doing
Be able to use both absolute and relative elevation
...