//Volume of tak(in m^3): V=0.1; //Temperature of line and tank(in K): T=293; //Initial tank gauge pressure(in N/m^2): p1=1*10^5; //Absolute line pressure(in N/m^2): p=2*10^6; //Rate of rise of temperature after opening of the valve(in C/sec): r=0.05; //Atmospheric pressure(in N/m^2): patm=1.01*10^5; //Gas Constant(in N-m/(kg-K)): R=287; //Value of cv(in N-m/kg-K): cv=717;