Question: Problem 2 - Linearized Model: Antoine Equation We would like to use linear regression to solve for the parameters of the Antoine equation. Use the

Problem 2 - Linearized Model: Antoine Equation We would like to use linear regression to solve for the parameters of the Antoine equation. Use the following form of the Antoine equation: log10P=AT+CB where P is the vapor pressure in bar, T is the temperature in K, and (A,B,C) are the parameters to be determined. Use the data given in the table above for the vapor pressure of propane. The linearized form of the Antoine equation is: Tlog10P=(ACB)+ATClog10P where the A,C, and (AC+B) terms are the unknowns that need to be determined. From here, it is straightforward to solve for A,B, and C. To this end, complete the following: (a) Derive the linearized form of the Antoine equation shown above then rewrite into general matrix form given n data points for P and T. (b) Using Python and the matrix method for linear least squares regression, solve and report the model parameters for A,B, and C. (c) Code a function in Python that computes an array of vapor pressures given an array of temperatures and the model parameters A,B, and C. Use this function to plot the model predictions against the experimental data for the vapor pressure of propane
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
