Hello, everyone! Welcome to Chemical Engineering World! In this blog, I will share my solutions of the practice and exercise of some of the Chemical Engineering subjects. I hope that it benefits students who struggle in the study of the subjects. Do check it out and stay tuned! 😊 - Learn smart, study hard
Friday, August 6, 2021
Linear Least-Squares Regression
Thursday, August 5, 2021
Linear Least-Squares Regression
Here is an M-file to implement linear regression.
Linear Regression M-file
Linear Least-Squares Regression
Problem 14.9.
Solution:
Tuesday, August 3, 2021
Linear Least-Squares Regression
Problem 14.7.
Solution:
Monday, August 2, 2021
Roots Finding: Open Methods
Here are the M-files provided to implement the Newton-Raphson, secant & modified secant method.
Newton-Raphson M-file
Secant M-file
Modified Secant M-file
Sunday, August 1, 2021
Roots Finding: Bracketing Methods
Here are the M-files provided to implement the bisection & false position method. Overall the scripts are the same, the only difference is the iterative function used to evaluate the root (as highlighted in each M-file).
Bisection M-file
False Position M-file
Roots Finding: Bracketing Methods
Problem 5.14.
Solution:
Numerical Integration Formulas
Here are the M-files to implement composite trapezoidal rule for equally spaced data and unequally spaced data. Composite Trapezoidal Rule ...
-
Problem 17.9. Employ inverse interpolation to determine the value of x that corresponds to f(x) = 0.93 for the following tabulated data: ...
-
Problem 17.5. Given the data Calculate f(4) using Newton's interpolating polynomials of order 1 through 4. Choose your base points to a...
-
Problem 19.13. The total mass of a variable density rod is given by where m = mass, ρ(x) = density, A c (x) = cross-sectional area, x = dis...













