You are on page 1of 1

# iclude<stdio.

h>
# include<conio.h>
# include<math.h>
void main()
{
float n,d,p1,t,b,L,VL,MP,rhoa,FA,dp,rhop,drho,m;
printf("Enter the values for :\n");
printf("no. of valves per cylinder:\n");
scanf("%f",&n);
printf("Inner Valve seat dia:\n");
scanf("%f",&d);
printf("Site Pressure(mbar) and Temperature(in K):\n");
scanf("%f \n%f",&p1,&t);
printf("Engine Bore and Stroke:\n");
scanf("%f \n%f",&b,&L);
printf("Valve Lift(mm) and Measured Tank Pressure:\n");
scanf("%f \n%f",&VL,&MP);
printf("Air Density(kg/m3) :\n");
scanf("%f ",&rhoa);
dp=(p1-VL*10.197)/10.197;
rhop=rhoa*(dp/p1)

You might also like