neromax
- 6
- 0
Homework Statement
I am to prove that a solution to the differential equation Fick's second law is valid by substitution.
Homework Equations
Fick's second law:
\frac{\partial C}{\partial t} = \frac{\partial}{\partial x} \left( D \frac{C}{\partial x} \right)
Solution to Fick's second law:
C(x,t) = \left( \frac{C_1 + C_2}{2} \right) - \left( \frac{C_1 - C_2}{2} \right) \text{erf} \left( \frac{x}{2 \sqrt{Dt}} \right)
The (Gauss) error function (erf) which I found online:
\text{erf}(z) = \frac{2}{\sqrt{\pi}} \int_o^z e^{-y^2} dy
The Attempt at a Solution
I presume I am supposed to differentiate the proposed solution with respect to t once and compare it to the proposed solution differentiated twice with respect to x? But I am not sure how i shall handle the integral.
Can someone help me/point me to literature or give me some pointers on how to proceed?