Chapter 12 IVP Practice Problems

Similar documents
k 2f, k 2r C 2 H 5 + H C 2 H 6

CE 3500 Fluid Mechanics / Fall 2014 / City College of New York

39th International Physics Olympiad - Hanoi - Vietnam Theoretical Problem No. 3

W i f(x i ) x. i=1. f(x i ) x = i=1

MEASUREMENT OF VISCOSITY OF LIQUIDS BY THE STOKE S METHOD

Experiment 3 Pipe Friction

Numerical Solution of Differential Equations

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Worksheet 1. What You Need to Know About Motion Along the x-axis (Part 1)

Natural Convection. Buoyancy force

Heat Transfer and Energy

Differential Equations

ME 305 Fluid Mechanics I. Part 8 Viscous Flow in Pipes and Ducts

Displacement (x) Velocity (v) Acceleration (a) x = f(t) differentiate v = dx Acceleration Velocity (v) Displacement x

F f v 1 = c100(10 3 ) m h da 1h 3600 s b =

XI / PHYSICS FLUIDS IN MOTION 11/PA

Abaqus/CFD Sample Problems. Abaqus 6.10

A Determination of g, the Acceleration Due to Gravity, from Newton's Laws of Motion

v v ax v a x a v a v = = = Since F = ma, it follows that a = F/m. The mass of the arrow is unchanged, and ( )

CONTROL VALVE PRESSURE DROP AND SIZING

19.7. Applications of Differential Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

VALIDATION, MODELING, AND SCALE-UP OF CHEMICAL LOOPING COMBUSTION WITH OXYGEN UNCOUPLING

Application of First Order Differential Equations in Mechanical Engineering Analysis

The Material Balance for Chemical Reactors. Copyright c 2016 by Nob Hill Publishing, LLC

EXPERIMENT 3 Analysis of a freely falling body Dependence of speed and position on time Objectives

Basic Equations, Boundary Conditions and Dimensionless Parameters

ChE 344 Chemical Reaction Engineering Winter 1999 Exam I Part 1 (80%) Solution

Steady Heat Conduction

2After completing this chapter you should be able to

Figure 1 - Unsteady-State Heat Conduction in a One-dimensional Slab

The University of Toledo Soil Mechanics Laboratory

tegrals as General & Particular Solutions

Introduction to COMSOL. The Navier-Stokes Equations

Plots, Curve-Fitting, and Data Modeling in Microsoft Excel

Battery Thermal Management System Design Modeling

EXPERIMENT 3a HEAT TRANSFER IN NATURAL CONVECTION

Convection in water (an almost-incompressible fluid)

IDEAL AND NON-IDEAL GASES

01 The Nature of Fluids

Plot the following two points on a graph and draw the line that passes through those two points. Find the rise, run and slope of that line.

Lecture L2 - Degrees of Freedom and Constraints, Rectilinear Motion

LASER MELTED STEEL FREE SURFACE FORMATION

Chapter 8: Flow in Pipes

For Water to Move a driving force is needed

ME Heat Transfer Laboratory. Experiment No. 7 ANALYSIS OF ENHANCED CONCENTRIC TUBE AND SHELL AND TUBE HEAT EXCHANGERS

Mathematical Modeling and Engineering Problem Solving

In order to describe motion you need to describe the following properties.

HSC Mathematics - Extension 1. Workshop E4

Student name: Earlham College. Fall 2011 December 15, 2011

PHYSICS 111 HOMEWORK SOLUTION #10. April 8, 2013

Presentation of problem T1 (9 points): The Maribo Meteorite

Exergy: the quality of energy N. Woudstra

Guide to Chapter 13. Chemical Equilibrium

FRICTION, WORK, AND THE INCLINED PLANE

Motion of a Leaky Tank Car

Thermochemistry. r2 d:\files\courses\ \99heat&thermorans.doc. Ron Robertson

Problem Set MIT Professor Gerbrand Ceder Fall 2003

Prelab Exercises: Hooke's Law and the Behavior of Springs

Work Energy & Power. September 2000 Number Work If a force acts on a body and causes it to move, then the force is doing work.

State Newton's second law of motion for a particle, defining carefully each term used.

Ch 7 Kinetic Energy and Work. Question: 7 Problems: 3, 7, 11, 17, 23, 27, 35, 37, 41, 43

Chapter 4. Forces and Newton s Laws of Motion. continued

Physics Notes Class 11 CHAPTER 3 MOTION IN A STRAIGHT LINE

STEAM TURBINE 1 CONTENT. Chapter Description Page. V. Steam Process in Steam Turbine 6. VI. Exhaust Steam Conditions, Extraction and Admission 7

Graphing Motion. Every Picture Tells A Story

Lecture 9, Thermal Notes, 3.054

AP Physics 1 and 2 Lab Investigations

Downloaded from

Pipe Flow-Friction Factor Calculations with Excel

Homework #1 Solutions

AS COMPETITION PAPER 2007 SOLUTIONS

When the fluid velocity is zero, called the hydrostatic condition, the pressure variation is due only to the weight of the fluid.

Mercury is poured into a U-tube as in Figure (14.18a). The left arm of the tube has crosssectional

Piping Hydraulic Line Design and Sizing Software KLM Technology Group

F N A) 330 N 0.31 B) 310 N 0.33 C) 250 N 0.27 D) 290 N 0.30 E) 370 N 0.26

The Three Way Catalyst in Hybrid Vehicles

Using Microsoft Excel to Plot and Analyze Kinetic Data

= 800 kg/m 3 (note that old units cancel out) J 1000 g = 4184 J/kg o C

Chapter 28 Fluid Dynamics

Definitions 1. A factor of integer is an integer that will divide the given integer evenly (with no remainder).

Chapter #7 Giancoli 6th edition Problem Solutions

Solving Quadratic Equations

Numerical Methods for Differential Equations

18 Q0 a speed of 45.0 m/s away from a moving car. If the car is 8 Q0 moving towards the ambulance with a speed of 15.0 m/s, what Q0 frequency does a

Physics 2A, Sec B00: Mechanics -- Winter 2011 Instructor: B. Grinstein Final Exam

FREESTUDY HEAT TRANSFER TUTORIAL 3 ADVANCED STUDIES

FLUID FLOW Introduction General Description

APPLICATION OF TRANSIENT WELLBORE SIMULATOR TO EVALUATE DELIVERABILITY CURVE ON HYPOTHETICAL WELL-X

Speed A B C. Time. Chapter 3: Falling Objects and Projectile Motion

State Newton's second law of motion for a particle, defining carefully each term used.

Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2)

JET ENGINE PERFORMANCE. Charles Robert O Neill. School of Mechanical and Aerospace Engineering. Oklahoma State University. Stillwater, OK 74078

Chapter 4 Atmospheric Pressure and Wind

AP1 Oscillations. 1. Which of the following statements about a spring-block oscillator in simple harmonic motion about its equilibrium point is false?

WEEK 1. Engineering Calculations Processes Process Variables

Reaction Rates and Chemical Kinetics. Factors Affecting Reaction Rate [O 2. CHAPTER 13 Page 1

Carbon Cable. Sergio Rubio Carles Paul Albert Monte

Experiment: Static and Kinetic Friction

Define conversion and space time. Write the mole balances in terms of conversion for a batch reactor, CSTR, PFR, and PBR.

Acceleration due to Gravity

Transcription:

PRACTICE PROBLEMS 43 Chapter IVP Practice Problems Use Excel and VBA to solve the following problems. Document your solutions using the Expert Problem Solving steps outlined in Table... Find an approximate solution for the range 0 x subject to the initial condition y = 0 at x = 0. Plot y versus x in a scatter plot. x yexp y. Find an approximate solution for the range 0 x subject to the initial condition y = 0 and / = 0.5 at x = 0. Plot y versus x in a scatter plot. d y x y 3. For a set of first-order consecutive reactions A B C, the concentrations of A, B, and C at any time in a batch reactor are governed by the differential equations. A B C kc kc B kc B A kc The initial concentrations are C A0 = 0. M, C B0 = 0, and C C0 = 0. The rate constants are k = 0.0 s - and k = 0.005 s -. Plot the concentrations in the range 0 t 300 s. 4. Solve for the range 0 t 0 for the values K = 9, 6,, 0, -. The initial conditions are y = 0 and / = 0. d y K 9y The initial concentrations are C A0 = 0. M, C B0 = 0, and C C0 = 0. The rate constants are k = 0.0 s - and k = 0.005 s -. Plot the concentrations in the range 0 t 300 s. 5. An unstea-state mass balance for a chemical in a well-mixed reactor with a second-order reaction is V F QC VkC where V is the working volume ( m 3 ), C is the chemical concentration (g/m 3 ), F is the feed rate (00 g/min), Q is the volumetric flow rate ( m 3 /min), and k is the second order rate constant (0.0 m 3 /gmin). The initial concentration is zero. Solve for the time to reach 99% of stea-state concentration. Use a trapezoidal method in Excel. A Answer: Time =. min 6. A non-isothermal, well-mixed, batch reactor can be described by the following equations involving an exothermic, first-order reaction: 0 exp C T 73 dt 0 000exp C0T 0 T 73

44 PRACTICAL NUMERICAL METHODS where C is the concentration of the reactant and T is the temperature of the reactor. Initially the reactor is at 5 o C with a concentration of reactant C =.0 gmol/l. Use Euler s method in Excel to find the concentration and temperature of the reactor versus time. Plot your results in a two-y axis yx plot. Explain your results. 7. Repeat problem 6 using the macro RK45ODE in Excel. Compare the results using RK45ODE and Euler s methods. 8. The irreversible first-order reaction: A B takes place in two identical well-mixed reactors in series (as shown in the schematic). The unstea-state mass balances for each chemical species in both reactors are: C A0 C A C B C A C B A CA0 CA kca B CB kca A CACA kca B CBCB kca where C A0 is the feed concentration to the first reactor, C A and C B are the exit concentrations from the first reactor and feed to the second reactor. C A and C B are the exit concentrations from the second reactor, is the residence time in a reactor, and k is the reaction rate constant. Use Excel to find the concentrations of A and B in each of the reactors during the first 30 minutes of operation if C A0 is 0, = 5 min, and k = 0./min. The initial concentrations of all chemical species are 0 in both reactors. Plot your results and determine the stea-state concentrations in both reactors. What is the approximate time to reach stea-state operation? Answer: C A = 6.7, C B = 3.3, C A = 4.4, C B = 5.6 9. Repeat problem 4 using the macro RK45VS in Excel. 0. Integrate the following system of differential equations for 0 < t < 50. 0.3x.5xy 0.036xy 0.y At t 0, x, y 0.05 Use 0 print steps. Plot x vs. y. What are x and y when t = 0, 0, 30, 40, 50? 7. For the following differential equation and boundary conditions: dt 7 4. 0 T 73 550 T 0

PRACTICE PROBLEMS 45 At x 0, T 00 At x 0.5, T 00 Calculate dt at each boundary, x = 0 and x = 0.5. 8. Solve the following system of differential equations and initial conditions for x and y as a function of time, t, for the range 0 < t < 3. Use the explicit trapezoidal method in Excel. Use 0 integration steps. Plot the results for x and y vs. t. What are the stea-state values for x and y (t)? Show your work. 0.05y0.5x x 000 at t 0 0.5x y y 00 at t 0 9. Plot the solutions for the following system of equations for 0 < x <. Solve the equations using the trapezoidal method in Excel with a step size of 0.. y y3 x at x 0, y 3x at x 0, y 3 y exp( x) at x 0, y3 0. Solve the following pair of differential equations using Excel over the range x = 0 to with y(0) = and z(0) = 4. Plot the results for y and z vs. x.. Solve the following system of equations using the trapezoidal method in Excel, using 0 integration steps. The initial conditions at x = 0 are y = 0, y =. Plot the results for y and y over the domain 0 x 3y 9 y 4 y y xy. Solve the following system of initial value equations for the range 0 t by the implicit trapezoidal method in an Excel worksheet (do not use any PNMSuite macros). Use a step size of Δt = 0.. At t = 0, x =, x =, x 3 = -. Plot all x versus t. Solve the system of equations and plot the results using Excel. 3xx x3 x x x3t 3 xx x3 e 3. Solve for y and y at x =. The initial conditions at x = 0 are y = and y =. Use VBA user functions for the derivatives. Plot the values for y and y over the range 0 x. Label both axis on the plots and include legends. t

46 PRACTICAL NUMERICAL METHODS.7 yy 0.67 y 0.67 y a. Use Euler s method with 0 steps in an Excel worksheet. b. Use the trapezoidal method with 0 steps in an Excel worksheet. 4. A stone is thrown vertically upward in air at an initial velocity V of 50 m/s. A frictional drag AV acts on the stone in a direction opposite to that of the motion. The stone rises until the velocity becomes zero and then accelerates downwards to the ground. Its velocity is governed by the following equations, while going upward and while coming down, respectively dv gav dv g AV where g = 9.8 m/s is the acceleration due to gravity, and A = 0-3 m -. Use Euler s method in Excel. (a) Solve the first equation to calculate the time when the upward velocity of the stone is zero. (b) Use the second equation to find the velocity of the falling stone after falling for the amount of time taken for the upward motion. (c) Plot the complete velocity profile in Excel for the total time. Label the axis. 5. A tank is filled with water and simultaneously drained from the bottom of the tank through a valve. The change in water level (h) in the tank is described by the following differential equation: dh 4 in F C h d Initial level of liquid in the tank at t = 0 h 0 ft Inlet liquid flow rate F in 000 lb/hr Valve constant C 500 lb/(ft / hr) Water density ρ 6.5 lb/ft 3 Tank diameter d 6 ft (a) Create a VBA user function for the differential equation. Use your function for the rest of this problem. (b) At stea-state, dh/ = 0, or the rate of water in equals the rate of water out. Use Goal Seek to find the stea-state water level in the tank. (c) Use Simpson s /3 rule in an Excel worksheet with 0 intervals to calculate the time to reach 90% of the stea-state water level found in part (b). (d) Repeat part c using the VBA macro ROMBERGT. (e) Solve the differential equation to achieve 90% of the stea-state level using Euler s method in an Excel worksheet. Use 0 time steps. (f) Repeat part e using the VBA macro RK4ODE (use 000 integration steps and 0 print steps). (g) Plot the water level versus time from part f (h on y-axis, t on x-axis). Answers: (b) 4 ft (c) 5.9 hr (d) 5.9 hr (e) h=3.69 ft at t = 5.9 hr (f) h = 3.6 ft at t = 5.9 hr 6. Cells are grown in a fermentation bioreactor. The kinetics of cell growth and substrate utilization are described by a system of first-order differential equations: SX Km S ds 0SX K S dx Y 0 bx m

PRACTICE PROBLEMS 47 Initial substrate concentration (t=0) S 0 8500 g/l Initial cell biomass concentration (t=0) X 0 40 g/l Maximum growth rate μ 0 6.5 Yield coefficient Y 0.045 Monod constant K m 3.4 g/l Decay coefficient b 0.03 (a) Create VBA user functions for the differential equations. Use your functions to evaluate the derivatives for the rest of the parts in the problem. (b) Solve the differential equations using the implicit trapezoidal method and the macro RK45VS. (c) Plot the results in a scatter plot with X on the primary axis and S on the secondary axis. 7. A reversible chemical reaction is used in a batch reactor: A B. The unstea-state mole balances for the reactant and product are: A B kc A kc B kc A kc B Initial concentration of A C A0 mol/l Initial concentration of B C B0 0 Rate constant k min - Rate constant k 0.5 min - (a) Create VBA user-functions for the derivative expressions. Use your functions for the rest of the problem. (b) Use the Trapezoidal method in an Excel worksheet to solve the differential equations for 0 t min with a step size of 0. min. (c) Plot the results from part b for C A and C B versus t in a scatter plot. Use the primary y-axis for C A and a secondary-axis for C B. (d) Repeat part b using the VBA macro RK45VS with 0 print steps. Answers: (b) t = min, C A = 0.366 mol/l, C B = 0.633 mol/l (d) t = min, C A = 0.36653, C B = 0.63348 8. A copper sphere of diameter 5 cm is initially at temperature 00C. It cools in air by convection and radiation. The temperature T of the sphere is governed by the equation dt 4 4 cv p AT Ts ht Ts with the following properties for the sphere and heat transfer: Density = 9000 kg/m 3 Specific heat c p = 400 J/kg K Radius r = 0.05 m Area A = 4r Volume V = 4r 3 /3 Emissivity ε = 0.5 Stephan-Boltzmann constant σ = 5.67x0-8 W/m K 4 Surrounding temperature T s = 5C Heat transfer coefficient h = 5 W/m K Note that the temperature in the differential equation must be in degree K. Solve for the time to cool the sphere to 50C. Use the trapezoidal method in Excel. Plot the time (horizontal axis) versus temperature (vertical axis). Label each axis with appropriate variable symbol and units. 9. Solve the membrane problem from Section..3. The mole balances for N and O in the permeate section of the membrane. Plot the results and compare with Figure. and Figure.3. Feed Conditions: y nf = 0.79, y of = 0., P f = 0 atm, k n = 0.3, k o = 8 k k

48 PRACTICAL NUMERICAL METHODS Closed System (0 < t < 5) dp dpo Open System (0 < t < ) n dp n n nf f n k y P P P n = 0.79 at t = 0 o of f o k y P P P o = 0. at t = 0 n nf f n n k y P P QP P n = 7.9 at t = 0 dpo koyofpf Po QPo P o =. at t = 0