program to calculate brayton cycle efficiency