Homework 18
Problem 1
Solve the following ODE for $C(t)$ to $t_{end}=5$, for $C_0 = 1$, $\tau = 1$.
$$\frac{dC}{dt} = -\frac{C}{\tau}.$$Problem 2
Solve the following ODE:
$$\frac{dv}{dt} = g - cv^2.$$- $g=9.81$,
- $c=1$.
- $v_0 = 0,$
- Solve to $t=2.$
Problem 3
Solve the following rate equation for a coal particle in a furnace.
$$ \frac{dT}{dt} = \left(\frac{hA}{m c_p}(T_f - T) + \frac{\sigma A}{m c_p}(T_f^4-T^4)\right).$$The initial particle temperature is $T_0=500$ K.
Use D=100 $\mu\text{m}$, tend = 0.05 s.
The following data is given:
| Variable | Value | Units |
|---|---|---|
| $\rho_p$ | 1000 | $\text{kg/m}^3$ |
| $c_p$ | 1380 | $\text{J/kg}\cdot\text{K}$ |
| $k$ | 0.1 | $\text{W/m}\cdot\text{K}$ |
| $Nu$ | 2 | – |
| $\sigma$ | 5.67E-8 | $\text{W/m}^2\text{K}^4$ |
| $T_f$ | 1500 | $K$ |
Also, the area, mass and Nusselt number $Nu$ are given, respectively, by:
$$ A = \pi D^2, $$$$ m = \frac{\pi}{6}D^3\rho_p,$$
$$ Nu = \frac{hD}{k}.$$
Problem 4
Solve for the velocity of a falling object:
$$ \begin{align} \frac{dv}{dt} &= g - cv^2, \\ \frac{dx}{dt} &= v. \end{align} $$Here, g is gravitational acceleration, x is position, v is velocity, and c is a drag coefficient.
- c = 1 $\text{m}^{-1}$
- g = 9.81 ($\text{m/s}^2$)
- t_end = 2 (s)
- $v_0 = 0$ (m/s)
- $x_0 = 0$ (m)
Problem 5
We are performing a chemical reaction as follows.
$$\text{Rxn 1: }\phantom{xxx} A+B\rightarrow C$$$$\text{Rxn 2: }\phantom{xxx} B+C\rightarrow D$$
Here, symbols $A$, $B$, $C$, $D$ denote species concentrations in mol/L.
The initial concentrations are $A_0=1$, $B_0=1$, $C_0=0$, $D_0=0$. Also, $k_1=1\,L/mol\cdot s$, and $k_2=1.5\,L/mol\cdot s$.
The concentrations obey the following rate equations:
$$ \begin{align} \frac{dA}{dt} &= -k_1AB, \\ \frac{dB}{dt} &= -k_1AB - k_2BC, \\ \frac{dC}{dt} &= k_1AB - k_2BC, \\ \frac{dD}{dt} &= k_2BC. \end{align} $$Solve for the concentrations of $A$, $B$, $C$, and $D$ as functions of time to $t=3$ s.
Plot the concentrations of A, B, C, and D as functions of time on the same plot. Label the axes as “time (s)” and “concentration (mol/L)”. Include a legend.