The mechanics of an electric racing car