Included in this hand-out are five examples of problems requiring the solution of a system of linear algebraic equations.

Similar documents
Systems of Linear First Order Ordinary Differential Equations Example Problems

Electromagnetics I Exam No. 3 December 1, 2003 Solution

PHYS 1443 Section 003 Lecture #21 Wednesday, Nov. 19, 2003 Dr. Mystery Lecturer

Force and dynamics with a spring, analytic approach

1 (40) Gravitational Systems Two heavy spherical (radius 0.05R) objects are located at fixed positions along

PHY 171. Lecture 14. (February 16, 2012)

PY241 Solutions Set 9 (Dated: November 7, 2002)

The Lagrangian Method vs. other methods (COMPARATIVE EXAMPLE)

Physics 221B: Solution to HW # 6. 1) Born-Oppenheimer for Coupled Harmonic Oscillators

All Excuses must be taken to 233 Loomis before 4:15, Monday, April 30.

I affirm that I have never given nor received aid on this examination. I understand that cheating in the exam will result in a grade F for the class.

(a) Why cannot the Carnot cycle be applied in the real world? Because it would have to run infinitely slowly, which is not useful.

8.1 Force Laws Hooke s Law

Simple Harmonic Motion of Spring

13 Harmonic oscillator revisited: Dirac s approach and introduction to Second Quantization

EFFECTIVE MODAL MASS & MODAL PARTICIPATION FACTORS Revision I

Distillation. The Continuous Column. Learning Outcomes. Recap - VLE for Meth H 2 O. Gavin Duffy School of Electrical Engineering DIT Kevin Street

Discover the answer to this question in this chapter.

Unit 14 Harmonic Motion. Your Comments

Thus, the formula weight per C-atom is: 1*12 (g/mol) +1.85*1(g/mol)+0.55*16 (g/mol)+0.13*14(g/mol)=24.5 g/mol.

Reading from Young & Freedman: For this topic, read the introduction to chapter 25 and sections 25.1 to 25.3 & 25.6.

Modern Control Systems (ECEG-4601) Instructor: Andinet Negash. Chapter 1 Lecture 3: State Space, II

Lecture 4 Normal Modes

27 Oscillations: Introduction, Mass on a Spring

2. Electric Current. E.M.F. of a cell is defined as the maximum potential difference between the two electrodes of the

Simple Harmonic Motion

ln P 1 saturation = T ln P 2 saturation = T

Simple and Compound Harmonic Motion

Q5 We know that a mass at the end of a spring when displaced will perform simple m harmonic oscillations with a period given by T = 2!

KINETIC THEORY. Contents

Oscillations: Review (Chapter 12)

Answers to assigned problems from Chapter 1

Department of Mechanical Engineering ME 322 Mechanical Engineering Thermodynamics. Ideal Gas Mixtures II. Lecture 32

Physics 2210 Fall smartphysics 20 Conservation of Angular Momentum 21 Simple Harmonic Motion 11/23/2015

Physics 207 Lecture 18. Physics 207, Lecture 18, Nov. 3 Goals: Chapter 14

1.1 Heat and Mass transfer in daily life and process/mechanical engineering Heat transfer in daily life: Heating Cooling Cooking

SHM stuff the story continues

m potential kinetic forms of energy.

III.H Zeroth Order Hydrodynamics

USEFUL HINTS FOR SOLVING PHYSICS OLYMPIAD PROBLEMS. By: Ian Blokland, Augustana Campus, University of Alberta

Mechanics Physics 151

Lecture #8-3 Oscillations, Simple Harmonic Motion

ME 300 Thermodynamics II Exam 2 November 13, :00 p.m. 9:00 p.m.

26 Impulse and Momentum

Chapter 1: Basics of Vibrations for Simple Mechanical Systems

Work, Energy and Momentum

Humidity parameters. Saturation (equilibrium) vapor pressure Condensation balances evaporation

Chapter 2: Introduction to Damping in Free and Forced Vibrations

CHAPTER 15: Vibratory Motion

Physics 4A Solutions to Chapter 15 Homework

Physics 140 D100 Midterm Exam 2 Solutions 2017 Nov 10

Dispersion. February 12, 2014

Page 1. Physics 131: Lecture 22. Today s Agenda. SHM and Circles. Position

COMPONENT MODE SYNTHESIS, FIXED-INTERFACE MODEL Revision A

Physics 2107 Oscillations using Springs Experiment 2

Now multiply the left-hand-side by ω and the right-hand side by dδ/dt (recall ω= dδ/dt) to get:

A Simplified Analytical Approach for Efficiency Evaluation of the Weaving Machines with Automatic Filling Repair

Recommended Reading. Entropy/Second law Thermodynamics

Pearson Education Limited Edinburgh Gate Harlow Essex CM20 2JE England and Associated Companies throughout the world

Department of Physics Preliminary Exam January 3 6, 2006

NB1140: Physics 1A - Classical mechanics and Thermodynamics Problem set 2 - Forces and energy Week 2: November 2016

= T. Oscillations and Waves. Example of an Oscillating System IB 12 IB 12

GAUTENG DEPARTMENT OF EDUCATION SENIOR SECONDARY INTERVENTION PROGRAMME. PHYSICAL SCIENCE Grade 11 SESSION 11 (LEARNER NOTES)

Chapter One Mixture of Ideal Gases

Chapter 11: Vibration Isolation of the Source [Part I]

Problem Set 14: Oscillations AP Physics C Supplementary Problems

PHYS 1443 Section 003 Lecture #22

Fourier Series Summary (From Salivahanan et al, 2002)

EGN 3353C Fluid Mechanics

Dynamics of Bass Reflex Loudspeaker Systems (3)

COUPLED OSCILLATORS. Two identical pendulums

Chapter 4 FORCES AND NEWTON S LAWS OF MOTION PREVIEW QUICK REFERENCE. Important Terms

SF Chemical Kinetics.

PY /005 Practice Test 1, 2004 Feb. 10

Periodic Motion is everywhere

Scattering and bound states

Chapter 6 1-D Continuous Groups

AP Physics Thermodynamics Wrap-up

Vector Spaces in Physics 8/6/2015. Chapter 4. Practical Examples.

Question 1. [14 Marks]

Kinetic Theory of Gases: Elementary Ideas

2.003 Engineering Dynamics Problem Set 2 Solutions

1 Brownian motion and the Langevin equation

CHECKLIST. r r. Newton s Second Law. natural frequency ω o (rad.s -1 ) (Eq ) a03/p1/waves/waves doc 9:19 AM 29/03/05 1

Announcement. Grader s name: Qian Qi. Office number: Phys Office hours: Thursday 4:00-5:00pm in Room 134

The Hydrogen Atom. Nucleus charge +Ze mass m 1 coordinates x 1, y 1, z 1. Electron charge e mass m 2 coordinates x 2, y 2, z 2

Kinetic Theory of Gases: Elementary Ideas

DESIGN OF MECHANICAL SYSTEMS HAVING MAXIMALLY FLAT RESPONSE AT LOW FREQUENCIES

PHYSICS 110A : CLASSICAL MECHANICS MIDTERM EXAM #2

i ij j ( ) sin cos x y z x x x interchangeably.)

(b) Frequency is simply the reciprocal of the period: f = 1/T = 2.0 Hz.

In the session you will be divided into groups and perform four separate experiments:

Molecular Speeds. Real Gasses. Ideal Gas Law. Reasonable. Why the breakdown? P-V Diagram. Using moles. Using molecules

EN40: Dynamics and Vibrations. Midterm Examination Tuesday March

ME357 Problem Set The wheel is a thin homogeneous disk that rolls without slip. sin. The wall moves with a specified motion x t. sin..

Chemistry 432 Problem Set 11 Spring 2018 Solutions

15 Newton s Laws #2: Kinds of Forces, Creating Free Body Diagrams

F = 0. x o F = -k x o v = 0 F = 0. F = k x o v = 0 F = 0. x = 0 F = 0. F = -k x 1. PHYSICS 151 Notes for Online Lecture 2.4.

XI PHYSICS M. AFFAN KHAN LECTURER PHYSICS, AKHSS, K.

16.512, Rocket Propulsion Prof. Manuel Martinez-Sanchez Lecture 30: Dynamics of Turbopump Systems: The Shuttle Engine

Transcription:

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) Eaple pplications of systes of linear equations Included in this hand-out are five eaples of probles requiring the solution of a syste of linear algebraic equations. The eaples are:. Steady state ass balances on a single-stage liquid-liquid etractor B. Steady state ass balances on a flash tan 4. heical Reaction Equilibria 7 D. Deterination of an independent set of cheical reactions E. Noral Mode nalysis of the Vibrational Spectru of a Molecule. Steady state ass balances on a single-stage liquid-liquid etractor onsider an etractor: Etract E, { E,b, E,c, E,f } etractor Solvent S, { S,b, S,c, S,f } Feed F, { F,b, F,c, F,f } Raffinate R, { R,b, R,c, R,f } This unit reoves uses a recycled furfural strea as the solvent to etract benzene fro a cycloheane product strea. The data you are given is F ol F,b. F,c.9 F,f. / hr S 5 ol / hr S,b. S,c. S,f.9989 R 95 ol / hr R,b R,c R,f??? E 55 ol / hr E,b E,c E,f??? E,b The equilibriu constants are: Kb. R,b E,c and Kc. 5. R,c You have si unnons, the copositions of the raffinate strea and the coposition of the etract strea. (a) Write si independent equations benzene ole balance: cycloheane ole balance: furfural ole balance: FF,b + SS,b RR,b E FF,c + SS,c RR,c E F + S R E E, b E, c F,f S,f R,f E, f (not used, dependent)

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) raffinate ole fraction constraint: etract ole fraction constraint: R,b + R,c + + + E,b E,c R, f E, f E,b benzene equilibriu constraint: Kb. R,b E,c c-heane equilibriu constraint: Kc. 5 R,c (b) Put equations in linear for benzene ole balance: R R,b + EE,b FF,b + S R R,c + EE,c FF,c + S R R,f EE,f FF,f + S R,b + R,c + R, f + + cycloheane ole balance: S, c furfural ole balance: + S, f (not used, dependent) raffinate ole fraction constraint: etract ole fraction constraint: E,b E,c E, f benzene equilibriu constraint: E,b R,bKb c-heane equilibriu constraint: E,c R,cK c (c ) Put equations in atri for atri of coefficients, (6 6) eqn/var R,b R, c R, f E, b E, c R E R E 4 5 K b 6 K c vector of right hand sides, b (6) eqn b 4 5 6 F F,b + S F + S F,c (d) opute the deterinant and ran of the atri. det.89e+5 ran() 6 S,b S,c E, f S, b

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) ran( b) 6 (e) Using MTLB, solve for the steady-state values of the unnons. (). R, b ().8448 R, c ().59 R, f (4).65 E, b (5).4 E, c (6).897 E, f

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) B. Steady state ass balances on a flash tan onsider an isotheral flash tan: F, {z} Isotheral Flash Tan V, {y} L, {} This unit taes a pressurized liquid, three-coponent feed strea and eposes it to a lo pressure vessel aintained under isotheral conditions. The net result is that soe of the fluid is vaporized, hile soe fluid reains liquid. The copositions of the liquid and vapor phase are deterined by the cobined analysis of ass balances and Raoult s La for vapor-liquid equilibriu. The teperature in the flash tan is T 98K and the pressure in the tan is P Pa. Raoult s La states that the product of the liquid ole fraction of coponent i and the vapor pressure of coponent i is equal to the partial pressure of coponent i in the vapor phase: vap i i P y P i Use the folloing data for the teperature given above P vap.6bar @ T P vap B.bar @ T P vap.bar @ T 98K 98K 98K F ol /hr z z z B.4.. V 44.78ol /hr y y y B??? L F - V ol /hr B??? Then you have si unnons, the copositions of the liquid strea and the coposition of the vapor strea. (a) Write equations ole balance: B ole balance: ole balance: liquid ole fraction constraint: vapor ole fraction constraint: Fz L Vy FzB LB VyB (not used, dependent) Fz L Vy (not used, dependent) + B + y + y + y B 4

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) equilibriu constraint: B equilibriu constraint: equilibriu constraint: (b) Put equations in linear for ole balance: B ole balance: ole balance: vap vap B PB vap P P y y y B P P P L + Vy Fz L L B + VyB FzB (not used, dependent) + Vy Fz (not used, dependent) liquid ole fraction constraint: + B + vapor ole fraction constraint: y + yb + y equilibriu constraint: vap P y P B equilibriu constraint: vap B PB ybp equilibriu constraint: vap P yp (c ) Put equations in atri for atri of coefficients, (6 6) eqn/var B L V 4 vap P P 5 vap P B 6 vap P vector of right hand sides, b (6) eqn b 4 5 6 y P Fz y B y P (d) opute the deterinant and ran of the atri. (Here is the contents of a Matlab -file I used to do this.) F ; V 44.78; 5

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) L F - V; z.4; zb.; z.; Pvap.6; PvapB.; Pvap.; P.5; [L V Pvap -P PvapB -P Pvap -P] b [F*z; ; ; ; ; ] ran ran() det det() \b (); B (); (); y (4); yb (5); y (6); The output fro the code yielded: ran 6 det -8.946 [.489.8.9.897.978.45].489 y.897 B.8 y B.978.9 y.45 6

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /). heical Reaction Equilibria onsider that you have a three-coponent reactive iture, all undergoing reversible reactions, as pictured belo: In this picture, the s are concentrations of the three species and the s are rate constants. n eaple of this syste is the inetic equilibriu beteen para-, eta-, and ortho-ylene. No suppose e ant to no hat the concentration is as a function of tie. We can rite the ass balances for each coponent. There are no in and out ters (the reactor is a batch reactor). There is only the accuulation ter and the reaction ters. lso, assue each reaction is first order in concentration. d dt d dt d dt + + + + + + (8.6) We can gather lie ters and rearrange the right hand side: d dt d dt d dt ( + ( + ) + + ( ) + + + ) (8.7) and e change this syste of equations into atri & vector for: d dt X (8.8) 7

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) here X ( + ) ( + ) ( + ) (8.9) ne underbar denotes a colun vector; to underbars denotes a atri. This is a syste of linear differential equations. If e ant the steady-state solution to the differential equations, e set the accuulation ter to zero. Then e have a syste of linear algebraic equations, as shon: X (8.) Let s solve for the steady-state concentration. The rate constants are given as:.5 sec.5 sec. sec.5 sec. sec.5 sec The deterinant of X is and the ran is. Therefore e have an infinite nuber of solutions. Why? If e loo at X, e see that RW -RW - RW. Since equation is not linearly independent e can drop it. Then e have equation and three unnons. We have options. ption Nuber ne: Since, e have an infinite nuber of solutions, e can just ae one of the variables no longer variable. Then e is no longer a variable. ill have the rest of relative to this basis. This requires us to rearrange X since We coe up ith the ne equations here X b X ( + ) ( + ) b 8

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) ne can see that e have dropped the third equation and since is no longer a variable, e have oved it to the right hand side of the equations. (If you don t see this, right these equations out in non-atri for and then ove to the right-hand-side of the equation, and then change bac into atri for. You ill get this result.) With these ne definitions, e can pic a value for MTLB gives the inv() upon request and provides the solution, lie. No MTLB says det().6..5.5 hich gives us the eaple solution vector:.5.5 If e ant to find the olar copositions, then e ill require that i. In order to noralize our i solution vector so that they su to one, e use the standard noralization equation: z i i i i then e find the steady state olar copositions to be: z / 7 / 7 4 / 7. ption Nuber To: If e only have equations for unnons, e can find another independent equation. If our unnons are ole fractions e no they ust su to one. i i This is our third equation. We drop equation three fro the previous forulation of the proble and e have X b 9

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) here X ( + ) ( + ) b This atri has a deterinant of.455 and ran of. Therefore e have a set of independent equations. Solving for yields / 7 / 7 4 / 7 hich is the sae result e obtained doing the proble the other ay.

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) D. Deterination of an independent set of cheical reactions Proble. Deterine the nuber of independent reaction in the folloing set by eaining the ran of the stoichioetric coefficient atri. (In the stoichioetric coefficient, the ros represent reactions and the coluns represent olecules.) 4 NH + 5 4 N + 6 H 4 NH + 4 N + 6 H N + N 4 NH + 6 N 5 N + 6 H N + N 6 6 5 4 6 6 4 H N N 4 5 4 N NH reactions olecules This is a non-square atri, five ros, si coluns. We can do the sae NGE on a non-square atri as on a square atri to reach Upper triangular for STEP NE. (zero the first colun belo ro ) RW RW - RW RW4 RW4 - RW 5 5 4 6 4 H N N 5 4 N NH reactions olecules STEP TW. (zero the second colun belo ro ) RW RW + ½*RW RW4 RW4-5/*RW RW5 RW5 - ½*RW

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) reactions NH 4 5 olecules N N N 4 4 4 H 6 There are only three independent cheical reactions. This ind of analysis is iportant hen you are doing an process analysis on a reactive syste. You need to have only independent reactions incorporated in your aterial and energy balances. The stoichioetric coefficient atri tells the engineer, given a set of reactions, ho any of those reactions are (linearly) independent. It ill not give the engineer a coplete set of reactions, unless () the nuber of reactions in the set is greater than or equal to the total nuber of independent reactions and () all coponents in the syste appear in at least one reaction. Proble. Deterine the nuber of independent reactions by using the atoic atri. (The atoic atri has atos on the ros and olecules along the coluns atos N N H olecules NH N N H This atri is already in upper triangular for. The ran of the atri is three. In reactive process analysis, the total nuber of independent reactions is equal to the nuber of coponents less the ran of ato atri. Since e have si coponents and a ran of three, e have three independent reactions. The atoic atri tells the engineer ho any independent reactions there can be. This is different in several ays fro the stoichioetric atri above. Fro atoic atri, # of independent reactions # of cheical species - ran of atoic atri If you ant to find a set of three reactions that are coplete and independent, then you ust postulate three reactions, and use the stoichioetric atri technique, outlined above, to verify that they are independent. The reactions you postulate ust contain all of the cheical species. Here is an eaple set of reactions: N + N N + N 4 NH + 5 4 N + 6 H These are guaranteed to be linearly independent since each reaction contains a unique species. Reaction is the only reaction to contain N. Reaction is the only reaction to contain N. Reaction is the only reaction to contain NH.

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) E. Noral Mode nalysis of the Vibrational Spectru of a Molecule onsider that e ant to investigate the vibrational properties of carbon dioide,. ur odel of the olecule loos lie this: spring () spring (),,, energy, U, is We odel the interaction beteen olecules as Hooian springs. For a Hooian spring, the potential U ( ) (8.) and the force, F, is F ( ) (8.) here is the spring constant (units of g/s ), is the equilibriu displaceent, and is the actual displaceent. We can rite Neton s equations of otion for the three olecules: a F a F a F ( ) ( ) + ( ) ( ) (8.) Knoing that the acceleration is the second derivative of the position, e can rerite the above equations in atri for as (first divide both side of all of the equations by the asses) d dt (8.4) here

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) 4 (8.5) Solving this syste of second order linear differential equations yields the integrated equations of otion for carbon dioide. Hoever, even ithout solving this syste, because the syste is linear, there are special techniques e can use to tell us a lot about the syste s behavior. Let us deterine the eigenvalues and the eigenvectors of the atri. First e have: λ λ λ λ I (8.6.5) The characteristic equation is given by (using equation 8.9) ( ) I det λ λ λ λ λ λ (8.6.6) Solving this for λ, e have ( ) I det λ + + λ λ λ λ (8.6.7) ( ) I det + λ + + + λ λ λ (8.6.8) ( ) I det + λ + λ + λ λ (8.6.9)

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) 5 So the roots to the characteristic equation are + λ λ λ (8.6.) The eigenvectors for each of these eigenvalues are given by ( ) I λ (8.6.4) ( ) I λ (8.6.) since the deterinant of is zero, e cannot use the inverse to calculate the solution, but e can still use NGE if e augent the atri by the solution vector. Since the equations are not linearly independent, e can reove, as a variable and set it equal to one. Then our syste becoes:,, (8.6.) With this ne atri, e can calculate the deterinant ) det( so it has an inverse hich is So that the solution to equation (8.6.) is,,

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) 6 and the eigenvector that corresponds to λ is (8.6.5) To find the second eigenvector, the eigenvector that corresponds to λ λ I + λ I I) det( λ s before, e reove the third equation and the third variable fro the equation: +,, (8.6.6) With this ne atri, e can calculate the deterinant ) det( so it has an inverse hich is + So that the solution to equation (8.6.6) is

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) 7,, and the eigenvector that corresponds to λ is (8.6.7) To find the third eigenvector, the eigenvector that corresponds to + λ λ I I) det( λ s before, e reove the third equation and the third variable fro the equation:,, (8.6.8) With this ne atri, e can calculate the deterinant ) det( so it has an inverse hich is So that the solution to equation (8.6.6) is

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) 8,, and the eigenvector that corresponds to + λ is (8.6.9) So e have the three eigenvalues and the three eigenvectors. So hat? What good do they do us? For a vibrating olecule, the square root of the absolute value of the eigenvalues fro doing an eigenanalysis of Neton s equations of otion, as e have done, are the noral frequencies. You see that the units of the eigenvalues are /sec, so the square root has units of frequency (or inverse tie). For carbon dioide, the three noral frequencies are: + ω The frequency of zero is no frequency at all. It is not a vibrational ode. In fact, it is a translation of the olecule. We can see this by eaining the eigenvectors. The eigenvector that corresponds to λ or λ ω is (8.6.5) This is a description of the noral vibration associated ith eigenfrequency of zero. It says that all atos ove the sae aount in the -direction.

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) The eigenvector that corresponds to λ or ω λ is (8.6.7) This eigenvector describes a vibration here both the oygen ove aay fro the equally and the carbon does not ove. The eigenvector that corresponds to λ + or ω λ + is (8.6.9) This eigenvector describes a vibration here both the oygen ove to the right and the carbon ove ore to the left, in such a ay that there is no center of ass otion. 9

he Lecture Notes, Dept. of heical Engineering, Univ. of TN, Knoville - D. Keffer, 5/9/98 (updated /) The noral odes of otion provide a coplete, independent set of vibrations fro hich any other vibration is a linear cobination.