Polytropic Work Equation Thermodynamics