Engineering With Python Rotating Header Image

Posts under ‘Learn Python’

Unsteady Heat Flow in a Slab – Simple Parabolic Partial Differential Equation (PDE)

Reference: This is from E.M. Rosen and R. N. Adams, “A Review of Spreadsheet Usage in Chemical Engineering Calculations”, Computers and Chemical Engineering, Vol. 11, No. 6, pp. 723-736, but they took it from Carnahan, Luther and Wilkes, “Applied Numerical Methods”, Wiley NY 1969 pg 434.  Very similar to an earlier problem that we did […]

‘Graphical’ Evaluation to Calculate the Number of Transfer Units – Problem Description

Reference: This is from E.M. Rosen and R. N. Adams, “A Review of Spreadsheet Usage in Chemical Engineering Calculations”, Computers and Chemical Engineering, Vol. 11, No. 6, pp. 723-736, but they took it from Henley and Seader, “Equilibrium Stage Separation Operations in Chemical Engineering”, Wiley, NY 1981 pg. 653.  I don’t have a copy of […]

Fitting Polynomials and Correlation Equations to Vapor Pressure Data – Solution

Solve the problem: 1. Fit the Data to a Polynomial Below is the program output in IPython with values for the various data fits. It is a little confusing, but now you know why in the earlier post that the polynomial coefficients are ‘backwards’.   You see the polynomial defined as p = 0.0007449*x3 + 0.03945*x2 […]

Fitting Polynomials and Correlation Equations to Vapor Pressure Data – Programming Approach

Plan your solution: Draw a picture, in this case, list all of your data and equations Remember the fundamentals and apply Draw your material or energy balance envelope (If necessary, not in this case) Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do and the answer you want You […]