Using mathematics with homemade catapults