How Is the Number of Particles Calculated in a 1D Diffusion Slab?

AI Thread Summary
The discussion focuses on calculating the number of particles in a 1D diffusion slab using the diffusion equation. The concentration of particles is given by the equation n'(x,t) = N/sqrt(4piDt) * exp(-x^2/4DT). A participant initially struggles with integrating the exponential function between specific limits but is reminded that the integral of a function over a small interval can be approximated as f(x) dx. This clarification helps resolve the confusion about the integration process. The thread highlights the importance of understanding basic integration concepts in the context of diffusion calculations.
poiuy
Messages
10
Reaction score
0
The solution to the diffusion equation in 1D may be written as follows:
n'(x,t) = N/sqrt(4piDt) * exp(-x^2/4DT)

where n'(x,t) is the concentration of the particles at position x at time t, N is the total number of particles and D is the diffusion coefficient.

Write down an expression for the number of particles in a slab of thickness dx located at position x.

I assumed it would be the integral of the function between x and x+dx with respect to x.

However exp(-x^2/4Dt) can't be integrated between these values. I have a standard integral for exp(-ax^2) which is 0.5 sqrt (pi/a) but this only applies to integrating between zero and infinity.If anybody could point me in the right direction it would be greatly appreciated, I think I am missing something obvious here and this is a really simple question.

Thanks
 
Last edited:
Physics news on Phys.org
poiuy said:
The solution to the diffusion equation in 1D may be written as follows:



n'(x,t) = N/sqrt(4piDt) * exp(-x^2/4DT)

where n'(x,t) is the concentration of the particles at position x at time t, N is the total number of particles and D is the diffusion coefficient.

Write down an expression for the number of particles in a slab of thickness dx located at position x.


I assumed it would be the integral of the function between x and x+dx with respect to x.

However exp(-x^2/4Dt) can't be integrated between these values. I have a standard integral for exp(-ax^2) which is 0.5 sqrt (pi/a) but this only applies to integrating between zero and infinity.


If anybody could point me in the right direction it would be greatly appreciated, I think I am missing something obvious here and this is a really simple question.

Thanks
Welcome to the forums!

Note that the integrale of any function f(x) between x and x +dx is simply f(x) dx!

\int_x^{x+dx} f(x') dx' \approx f(x) dx
 
Wow thanks, incredible that I could have had 14 years of education and never been taught that, thanks very much.
 
Actually thinking about it, it's incredible that I couldn't work that out for myself.
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top