Calculate the equilibrium solubility of component

Assignment Help MATLAB Programming
Reference no: EM131921063 , Length: 6 pages

Question:

Write a MATLAB function to calculate the equilibrium solubility of component 1 (x1) in a binary system at a given temperature and pressure as the input using the fugacity coefficients calculated from the Soave Equation of State (EOS). Your function must:

1. Be user friendly

2. The input of the fitnction should have critical temperature, critical pressure, acentric factor of each component and a given temperature, pressure and a mixing constant kn. (Should be total of 9 inputs)

3. The output is the equilibrium solubility of component 1 (x1)

4. Use your created function to calculate the equilibrium solubility of CO2 in n-decane (x1) at 300 F and 42 bar that kij = 0.12 (Knapp et al, p 638). Define component 1 is CO2 and component 2 is n-decane.

Attachment:- Soave equation of state.rar

Reference no: EM131921063

Questions Cloud

What is holmes after-tax cost of debt : If its marginal tax rate is 40%, what is Holmes's after-tax cost of debt?
Is leadership the same as management : Is it possible to identify certain characteristics of an individual and then match them to a leadership position?
Discuss potential conflict among various promotion managers : Discuss the potential conflict among the various promotion managers. How could this be reduced? Explain why sales promotion is currently weak spot in marketing.
The federal reserve system is considering reversing : the Federal Reserve System is considering reversing its previous policy,
Calculate the equilibrium solubility of component : Write a MATLAB function to calculate the equilibrium solubility of component 1 (x1) in a binary system at a given temperature and pressure as the input using
Discuss the value of gross national product : Discuss the value of gross national product and gross national product per capita as measures of market potential in international consumer markets.
Discuss impact of the aging culture on marketing strategy : Discuss how slower population growth-especially the smaller number of young people-will affect businesses in your local community.
Describe transformational leadership : Describe transformational leadership. What are the four types of leadership behaviors that are identified in transformational leadership?
How demand in the united states will differ : Name three specific examples (specific products or brands -nor just product categories) and explain how demand in the United States will differ by geographic.

Reviews

len1921063

3/30/2018 1:30:14 AM

Do you have expert who can solve chemical engineering thermodynamics chemical equilibrium MATLAB coding? I need first out line. binary system at a given temperature and pressure as the input using the fugacity coefficients calculated from the Soave Equation of State

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd