Polytropic Work Equations Calculus