Since the compression and power strokes of this idealized cycle are adiabatic, the efficiency can be calculated from the constant pressure and constant volume processes. The input and output energies and the efficiency can be calculated from the temperatures and specific heats: