Professional Documents
Culture Documents
1. Create a column chart, line graph, pie chart, bar graph, area graph and scatter chart by using
following data sets. (axis of the chart and data series should be labeled properly)
2. By using following data add a trendline, error bar and sparklines to a chart in Excel.
Period 1 2 3 4 5 6 7 8 9 10
Sales 20 32 51 43 62 63 82 75 92 89
3. By using following data create a combination (line and column) and gantt chart.
Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Rainy 12 11 10 9 8 6 4 6 7 8 10 11
Days
Profit $3,57 $4,70 $5,33 $6,69 $8,84 $12,34 $15,18 $11,19 $9,73 $9,84 $6,62 $5,085
4. Now, consider a set of linear equations that we have to solve using Microsoft Excel, like:
X-Y-Z+3 L=1; 2X+4 Y+3 Z+L=2 ; 2.25 X+Y+2 Z+2 L=3 ; X+1.5 Y+Z+2 L=4
Write those equations in matrix form and calculate the determinate an inverse in excel.
5. Calculate the molar volume and compressibility factor for gaseous ammonia at a pressure P = 40
atm and a temperature T = 400 K using the van der Waals and Redleich-Kwong equations of
state.
6. Next table presents data of vapor pressure versus temperature for benzene. Some design
calculations require these data to be accurately correlated by various algebraic expressions which
provide P in mmHg as a function of T in °C.
Temperature -36.7 -19.6 -2.6 7.6 26.1 42.2 60.6 80.1
Pressure 1 5 20 40 100 200 400 600
(a) Determine the constants for best fit of the experimental data using a polynomial equation.
Also Determine the degree of polynomial which best represents the data.
(b) Determine the constants for best fit of the data using Clausius-Clapeyron equation. [log P= A-
(B/(T+273.15)]
(c) Determine the constants for best fit of the data using Antoine equation.
[log P= A- (B/(T+C)]
7. Using matrix in excel program solve the following problem.
5. A fluid is flowing through a 1 mm diameter pipe, with the velocity of 3m/s. If viscosity of water
is 0.001 then what will be the pattern of this flow?
6. An object with an initial temperature of To that is placed at time t = 0 inside a chamber that has a
constant temperature of Ts; will experience a temperature change according to the equation
T= Ts + (To ± Ts) e± kt
where T is the temperature of the object at time t and k is a constant. A soda can at a temperature
of 120° F (after being left in the car) is placed inside a refrigerator where the temperature is 38°F.
Determine the temperature of the can after three hours. Assume k=0.45. First define all of the
variables and then calculate the temperature using one MATLAB command.
9. Fit the following data describing the accumulation of species A over time to a second order
polynomial. Using this polynomial, predict the accumulation over the range of 20 - 30 hours.
Finally, calculate the time derivative of the accumulation over the period 0-10 hours.
Mass of A accumulated as a function of time
Mass of A accumulated (Kg) Time (Hours)
9 1
55 3
242 5
367 7
345 8
531 10
10. Find the solution for a, B and c that satisfies the following set of algebraic equations:
5a + 6 = 0 ; a + 4b +7 = 0 ; 4b + c + 3 = 0
11.
A ⸻˃ D ; reaction 1
A + A ——> U ; reaction 2
where D is a desired product, U is undesired product and where k1 and k2 are the rate constants
for reactions 1 and 2. Let k1, k2 be given parameters, and the initial concentration of A (CAo) be
a design variable. The independent variable is time (tfin), and the dependent variables are the
concentration of the species, CA, CD, and CU. Note that in most design situations k1 and k2 might
be design parameters, adjusted via the temperature. By writing the mass balance equations over
the batch reactor, the system of differential equations is the following: they are not linearly
independent.
d(CA)/dt = -k1(CA) - k2(CA)2
d(CD)/dt = k1 (CA)
d(CU)/dt = k2 (CA)2
A B
0 2.49939
0.0002 -1.28174
0.0004 3.05481
0.0006 0.790405
0.0008 -0.44861
0.001 2.28577
0.0012 1.11084
0.0014 0.0854
0.0016 2.30713
0.0018 1.77307
0.002 -0.83313
0.0022 3.22571
0.0024 1.34583
0.0026 0.27771
0.0028 1.19629
0.003 0.341797
0.0032 1.36719
0.0034 1.96533
0.0036 0.448608
0.0038 3.26843
0.004 0.683594
0.0042 -1.83716
0.0044 4.14429
Hints: First save these data to excel file and then import it to MATLAB.