Some routines for calculating badminton physics