Create a MATLAB function called P_IG.m that solves for the pressure of an ideal gas (in Pa) when given the Temperature (in K), and the molar volume (in m3/mol). Note that these are all SI units. The governing equation for an ideal gas is of course, . As a reminder, the first line of your function file should be something like
function P = P_IG(T,V_mol)