12_3€¦ · web viewnote: read the example closely, as it provides all of the needed constants,...
TRANSCRIPT
ChE 310 Problem Set 12 Due Friday 12/13/19
Note: this assignment will be ungraded, so no submission is required. However, there is one optional extra credit problem available. For this problems, collect all m-files in a single .zip file and upload the .zip file to the course webpage by midnight on Friday, December 13, 2019. Please note any collaborations in comments. Each student must upload their own unique copy of the work.
12_1. Solve Chapra problem 23.13. How many data points are generated by MATLAB when using ode45 vs. ode23s?
NOTE: There is a typo in the third differential equation in the book (has one extra (-) sign):
d c3
dt=0.013 c1−1000 c1c3−2500 c2c3
12_2. Use MATLAB to solve example 6.10 in the Fogler text (pp. 352-355 of the attached PDF). NOTE: read the example closely, as it provides all of the needed constants, differential equations, and rate expressions. Create a figure identical to E6-10.1 (bottom of pg. 355 in PDF) as your output.
12_3
Consider the following system of differential equations resulting from a series of reactions:
dC A
dt=−k1C A−k2C ACB
dCB
dt=2k1CA−k2C ACB−k3CBCC
dCC
dt=2k2C ACB−k3CBCC
dCD
dt=k3CBCC−k4CD
(A)We know the initial conditions C A0=20 molL , and CB0=CC 0=C D0=0. We precisely
measure the concentrations after one minute: C A=3.25 molL ; CB=0.25 mol
L ;
CC=8 molL
;CD=7.5 molL . Use this information to solve for the actual values of
k1 , k2 , k3 , k4. (Assume your measurements after one minute are perfect.)(B) Component D is a product of interest. At what time should we stop the reaction to
maximize the concentration of component D? Use the results of part (A), and be precise.
12_4. Solve problem 23.32 in the 4th edition of the Chapra text.
Challenge 12_5 (4 points extra credit)
We’re firing a cannon to land a projectile within a target zone. We define a coordinate system in which y is the direction toward the target zone (positive direction moves from us toward the target), x is the “left/right” direction when facing the target zone (positive direction to the right), and z is the direction normal to the ground (positive direction upward).
The movement of the projectile is governed by the following equations of motion:
dxdt
=v xdydt
=v ydzdt
=v z
d vx
dt=ax
d v y
dt=a y
dzdt
=az
The accelerations can be defined by the following force balances:
ax=[ sign (vwind , x−vx ) ] Cd
2ρair (vwind ,x−v x)
2 A ref /mball
a y=[ sign (vwind , y−v y) ]Cd
2ρair (vwind , y−v y )2 A ref /mball
az=[sign (vwind , z−vz ) ]Cd
2ρair (vwind , z−vz )
2 A ref /mball−g
Note the “sign” function, which can be used in MATLAB. This returns a (+1) or a (-1); this comes from air resistance opposing the direction of movement.
The appropriate Aref value for a sphere’s surface area is calculated as:
Aref =π4Dball
2
For this problem, we consider the following physical constants:
Cd=0.47 ρair=0.737 kgm3 Dball=0.254m mball=45kg g=9.81 m
s2
We also consider the following initial position of the projectile:
x (t=0 )=0 y (0 )=0 z (0 )=0
The initial velocities are determined by the following equations, as determined by the launch angles of the cannon:
vx ( 0 )=v0sin (ϕ ) cos (θ ) v y (0 )=v0 sin (ϕ ) sin(θ) vz (0 )=v0 cos (ϕ)
For this problem, v0 is fixed at 142 m/s.
The target zone is located in a 10x10 square landing area defined by coordinates:
(−10,1370,60 ) ; (10,1370,60 ); (−10,1430,60 ); (10,1430,60)
(A)First consider the case in which vwind , x=0 and θ=90 °. (This corresponds to the case in which all x-components are 0.) Assume vwind , z=0. For each of the following cases, find a value of ϕ for which the projectile will land in the target zone.
a. vwind , y=0 ms
b. vwind , y=−20ms (wind in your face)
c. vwind , y=30 ms
(B) There’s now a strong cross wind: vwind , x=−30, vwind , y=−10, vwind , z=0. Find a pair of θ and ϕ such that your cannon will hit its target zone.