C PROGRAMS TO FIND EFFICIENCY AND OUTLET TEMP OF COMPRESSOR


#include
#include
#include
main()
{
float ti,to,pi,po,e,g=1.4;
clrscr();
printf("enter ti,pi,and po Values...");
scanf("%f%f%f",&ti,&pi,&po);
to=ti *pow(po/pi,(g-1)/ g);
e=l-pow(pi/po,(g-1 )/g);
printf("outlet temp=%f efficiency=%f" ,to,e);
getch();
}



No comments:

Post a Comment