1 2 3 4 5 6 7 8
clc //Initialization of variables cp=0.24 //B/lbm F R=53.3 //ft-lb/lbm F //calculations cv=cp-R/778 //results printf("Specific heat at constant volume = %.3f B/lbm F",cv)