%assumes SI units for all inputs
%Assumes using K sized tank for volume
%assumed gas is Helium, uses ideal gas law
%vecotrized for pressure
function m = HeliumMass(P,T)
Vtank = 43.61/1000; %liters/1000 = cubic meters
m = (P.*Vtank)./(T*8314.4598/4.002602);
%numbers come from ideal gas constanst R divided by molar mass of helium
end
