Question
Antoines Equation describes the relationship between vapor pressure and temperature for a pure substance. The equation is: log10()=A( B/(C+T)) P = vapor pressure (mmHg) T
Antoines Equation describes the relationship between vapor pressure and temperature for a pure substance. The equation is: log10()=A( B/(C+T)) P = vapor pressure (mmHg) T = temperature (oC) A, B, C are constants that depend on the substance The table below lists the constants, A, B, and C, for three substances. It also lists the temperature range (Tmin to Tmax) for which Antoines equation is valid. Substance A B C Tmin Tmax Methanol 8.0724 1574.99 238.87 -16 91 Butane 6.80896 935.86 238.73 -78 19 Octane 6.9094 1349.82 209.385 19 152 Create a Python script,:
ask for the substance (Methanol, Butane, or Octane) make sure the substance entered is valid. If not, continue to prompt until a valid substance is entered. (Need help with and below) Create a list of twenty temperatures evenly spaced ranging from Tmin to Tmax given in the table above: Tmin, Tmin+ T, Tmin+2T, Tmin+3T, ... Tmax where T=(TmaxTmin)/19
The list of temperatures will be different for each substance. Using Antoines Equation, calculate and create a list of the vapor pressures corresponding to each temperature in the list. Output each temperature and the corresponding vapor pressure using 3 places behind the decimal and including units.
Use a loop for the above and don't just output a whole list of pressures and temps
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started