Exam 2: Leader: Tom Sections A and C Course: Ch E 160 Supplemental Instruction Instructor: Heinen Iowa State University Date: 11/12/2013

Mass and Energy Balances:

A stream of a solvent and a mineral enter a separation process at 12 lbm/s. The separation process removes 8 lbm/s pure solvent from the stream. The rest of the material leaves in another stream headed toward a boiler where solvent is boiled off to get 1.1 lbm/s of a 95% mineral powder. Create a diagram and mass balance for this system. What is the composition of the entering stream?

1060 Hixson-Lied Student Success Center v 515-294-6624 v [email protected] v http://www.si.iastate.edu Water at an initial temperature of 25 °C is fed into a boiler at 1500 kg/hour, the temperature is raised to 100 °C and then water is boiled into a steam stream at steady state. A fuel with an energy density of 24 MJ/kg is used to supply heat. At what rate does the fuel need to be supplied? The heat capacity of water is 4184 J/kg*K and the heat of vaporization is 2260 kJ/kg. Linear Regression:

What are the equations for m, b, and r2 for linear regression?

For exponential?

For power?

What are the built in Excel functions for m, b, and r2 of a linear data set? VBA:

Write a program that reads values from a .txt file into an array, calculates the mean and sum of the elements in the array, and then prints an array to another .txt file that contains the elements of the original array divided by the mean. Write a program that calculates the matrix multiplication product for two user defined 3x3 matrices, then displays the resulting matrix in a message box.

Write a program to calculate the determinant of a 3x3 matrix, and report the answer to a message box. Matlab:

Format equations 4x+2y+1z = 12, y+3z = 2, and x-2z = 9 into a matrix system. Then write the commands need to define the matrices in Matlab and solve the system in the command window.

Write the commands that would be visible in the command window after fitting a trend line to a data set and plotting it with the original data points.

How would you get this data into Matlab if it were stored in an Excel file?