You are on page 1of 2

EGEN Final Project

Due 4/22/2014 at 11:59 PM to the dropbox


COMPLETE ANY 5 (20 Points Each) of the FOLLOWING 6 PROBLEMS

Part I: Decisional Structure


A cylindrical tank has a conical base. If the liquid is low, in the conical part, the volume is
simply the conical volume of liquid. If the liquid level is midrange in the cylindrical part, the
total volume of liquid includes the filled conical part and the partially filled cylindrical part.
R is also the radius of the cylinder. Use decisional logic structures in a MATLAB script to
return the volume for all cases where the depth is less than 3R. Return an error message
(“Overtop”) if you overtop the tank, that is d>3R. Test it with the following data:

R 1.5 1.5 1.5 1.5


d 1 2 4.5 4.6

Part II: Eigenvalues


The structure of a BeCl2 molecule may be idealized as three masses connected by two springs, where the masses
are the beryllium and chlorine atoms, and the springs represent the chemical bond between the beryllium and
chlorine atoms. The equation of motion for each atom (mass) may be written as:

𝑑 2 𝑥1
𝑚𝐶𝑙 = −𝑘𝑥1 + 𝑘𝑥2
𝑑𝑡 2

𝑑 2 𝑥2
𝑚𝐵𝑒 = −2𝑘𝑥2 + 𝑘𝑥1 + 𝑘𝑥3
𝑑𝑡 2

𝑑 2 𝑥3
𝑚𝐶𝑙 = 𝑘𝑥2 − 𝑘𝑥3
𝑑𝑡 2

where k is the restoring force spring constant representing the Be-Cl bonds. Since the molecule is free to vibrate,
normal mode (i.e. along the axis) vibrations can be examined by substituting 𝑥𝑗 = 𝐴𝑗 𝑒 𝑖𝜔𝑡 , where Aj is the
amplitude of the jth mass, 𝑖 = √−1, ω is the frequency and t is time. This results in the following system of
equations:

𝑘 𝑘
−ω2 𝐴1 = − 𝐴 + ∗ 𝐴2
𝑚𝐶𝑙 1 𝑚𝐶𝑙

2𝑘 𝑘 𝑘
−ω2 𝐴2 = − 𝐴2 + ∗ 𝐴1 + 𝐴
𝑚𝐵𝑒 𝑚𝐵𝑒 𝑚𝐵𝐸 3

𝑘 𝑘
−ω2 𝐴3 = 𝐴2 − ∗ 𝐴3
𝑚𝐶𝑙 𝑚𝐶𝑙

Rewrite the systems of equations above as an eigenvalue problem, showing that ω 2 is the eigenvalue. Using
MATLAB OR Mathcad Prime, solve for the different frequencies ω when k = 1.81*10 2 kg/s2,
2𝜋𝑐
mCl = 35.45*1.6605*10-27 and mBe = 9.01*1.6605*10-27 kg. Find the wavelengths 𝜆 = , where c = 3*108 m/s for
ω
the speed of light in a vacuum, that correspond to the frequencies found above. Express the answers in units of
microns or µm where µm = 10-6 m. Determine the eigenvectors corresponding to the eigenvalues. These tell you if
the molecules are moving towards or away from one another.

Montana State University 1|P a g e EGEN 102 Intro to Eng. Comp. Apps
Part III: System of Non-Linear Equations
A coating on a panel surface is cured by radiant energy from a heater. The temperature of the coating is
determine by radiative and convective heat transfer processes. If the radiation is treated as diffuse and gray, the
following nonlinear system of simultaneous equations determine the unknowns J h, Th, Jc, Tc:

5.67 ∗ 10−8 𝑇𝑐4 + 17.41𝑇𝑐 − 𝐽𝑐 = 5188.18

𝐽𝑐 − 0.71𝐽ℎ + 7.46𝑇 𝑐 = 2352.71

5.67 ∗ 10−8 𝑇ℎ4 + 1.865𝑇ℎ − 𝐽ℎ = 2250

𝐽ℎ − 0.71𝐽𝑐 + 7.46𝑇ℎ = 11093

where Jh and Jc are the radiosites of the heater and coating surfaces, respectively, and Th and Tc are the respective
temperatures. Use MATLAB’s fsolve, MathCAD Prime’s Solve Block, OR Excel’s Solver to find the unknowns Jh, Th,
Jc, Tc. Start with the following initial guesses: Th = Tc = 298 K, Jc = 3000 W/m2, and Jh = 5000 W/m2.

Part IV: Integration


The figure shows the output pulse from an MDS defibrillator. The
voltage as a function of time is given by:

𝑣(𝑡) = 3500 sin(140π𝑡) 𝑒 −63π𝑡 (𝑉𝑜𝑙𝑡𝑠)

The energy, E, delivered by this pulse can be calculated by:

𝑡 [𝑣(𝑡)]2
𝐸=∫ 𝑑𝑡 (𝐽𝑜𝑢𝑙𝑒𝑠)
0 𝑅

where R is the impedance of the patient. For R = 50Ω, determine the time when the pulse has to be switched off if
250 J of energy is to be delivered. Solve this problem using MATALB, MathCAD Prime OR Excel.

Part V: Derivatives
The refractive index n (how much the speed of light is reduced) of fused silica at different wavelengths λ is
displayed in the following table:

λ (µm) 0.2 0.25 0.3 0.36 0.45 0.6 1.0 1.6 2.2 3.37
n 1.551 1.507 1.488 1.475 1.466 1.458 1.450 1.443 1.435 1.410

𝑑𝑛
Using MATLAB OR Excel and the data, calculate the dispersion (spreading of light beam) defined by at each
𝑑λ
wavelength.

Part VI: Curve Fitting


Bacteria growth rate can be modeled with the equation ln(𝑁𝑡 ) − ln(𝑁0 ) = µ(𝑡 − 𝑡0 ), where µ is the growth rate
constant, and Nt and N0 are the numbers of bacteria at times t and t0, respectively. Determine µ and N0 such that
the equation will best fit the following data and using t0 = 0. You can complete this in MATLAB, MathCAD Prime
OR Excel.

t (h) 0 2 4 6 8
N (cells/ml) 35 1990 70,800 2,810,000 141,250,000

Montana State University 2|P a g e EGEN 102 Intro to Eng. Comp. Apps

You might also like