Develop a program that outputs the entropy production rate for the filling of an initially evacuated rigid vessel with an incompressible liquid or an ideal gas of your choice when the vessel is filled either adiabatically or isothermally (again, your choice).
Input all necessary information in proper units. Allow the user to work in either Engineering English or SI units.