STATISTICS

Fuel Consumption, L/min / Velocity, m/s
25.2 / 10.0
44.6 / 20.0
71.7 / 30.0
115 / 40.0
202 / 50.0
367 / 60.0
608 / 70.0

For the data set:

  • Find the equation that best fits the data set using the method of least squares.
  • Find the coefficient of correlation.
  • Using your equation, predict the fuel consumption at a velocity of 85 meters per second
  • Based off of the coefficient of correlation, what would you conclude about the accuracy of your prediction in the previous answer

70.0 / 78.0 / 70.0
85.0 / 69.0 / 68.0
71.0 / 82.0 / 69.0
75.0 / 76.0 / 85.0

For the data set:

  • Find the mean, median and mode
  • Find the standard deviation
  • Find the variance
  • If you were making a histogram of the data, how many bins would you use?

MATRICES

Set up these equations as a matrix, and solve for the unknown variables.

12a + 13b - 6d = 125

-6a + 2c – 14 = 0

12b + d = 4

19 + 26d – 2c = 64

Find the value of the determinant

[0 / 4 / 3 / 0 / 0
5 / 8 / 2 / 7 / 9
1 / 9 / 0 / 6 / 1
4 / 4 / 2 / 8 / 8
3 / 2 / 7 / 1 / 7 ]

Write a linear system of equations using this matrix, and solve

[1 / 4 / 2 / 7 / 3
9 / 8 / 0 / 0 / 4
0 / -3 / 0 / -5 / 16
4 / 0 / 9 / 8 / 27]

MATERIAL BALANCES

For the following material balance calculations, present in engineering format, including all assumptions.

Leftover acid from a chemical process contains 24.0% nitric acid, 55% sulfuric acid, and 12% water. This acid is to be concentrated by adding H2SO4 at 92% concentration as well as as 89% concentration HNO3. The final product must contain 31% nitric acid and 58% sulfuric acid. Compute the mass of the initial leftover acid solution and the mass of the concentrated acids that must be combined to produce 2.00x103lbm of this desired mixture.

1000 kg/h of a mixture containing equal parts by mass ethanol and water is run through a distillation column. The bottoms stream coming out of the column is measured and the flow rate is found to be 673 kg/h. The top stream is analyzed and found to contain 96.0% wt ethanol. Calculate the mass and mole fractions of the ethanol in each stream and the flow rate of the top stream.

ENERGY BALANCES (HEINEN)

Write out the general energy balance equation and identify each piece.

The internal energy of a system decreases by 200 J while 320 J of work is done by the system. Is heat added or removed? How much?

An SUV weighs 2400 kg and has a kinetic energy of 815 kJ.

-Determine the velocity in miles/hour.

- If the SUV was traveling at 65 km/h, what would its kinetic energy be?

- A mass of water is heated from 10 C to 20 C by the addition of 5000 BTU of energy. What is the final form of the energy? Express that final form in MJ.

MATLAB (HEINEN)

z = input('Enter a number')What is the value for z when:

if z == 110input = 17?

z = z-4;input = 145?

elseif z < 40

z = z*16

else

z = 176

end

a = 12; b = 14; c = 9;What are the values of the variables?

if a < 4

c = 17;

elseif b ~= c

c = 26

end

a = 200;What is the value of a?

while a > 10

a = a/4

end

b = 1;What is the end value for b?

for ii = 2:6

b = b * ii

end

DEBUGGING

q = 1;

for a = 2-6

q = b * a

nexta

j = 6; k = 4;

If q~=4

j = 16;

else q = 4

j = 2

else k ~= 6

j = 1

end

a = 100;

b = 4;

while b < a

c = 14 / b

end