Documentos de Académico
Documentos de Profesional
Documentos de Cultura
-Primera ley:
LRT
c
ms lento.
-Segunda ley:
j c
x t
*Flujo constante
Este es el efecto que causa en el sentido del olfato cuando la vescula sinptica
responde al estmulo con la clula nerviosa para la liberacin de transmisores en
la deteccin de olores.
Esta funcin corresponde a una curva simtrica en x que tiene valores pequeos
cuanto mayor es x.
Donde
M 2(D)1/ 2
M
n( x, t ) c
e 4 Dt
2 Dt
Por lo tanto,
Cdigo fuente
Segundo applet
double erfcc(double x) {
//funcin complementaria 1-erf(x)
double t,z,ans;
z=Math.abs(x);
t=1.0/(1.0+0.5*z);
ans=t*Math.exp(-z*z1.26551223+t*(1.00002368+t*(0.37409196+t*(0.09678418+
t*(-0.18628806+t*(0.27886807+t*(1.13520398+t*(1.48851587+
t*(-0.82215223+t*0.17087277)))))))));
return x >= 0.0 ? ans : 2.0-ans;
}
Tercer applet
//mtodo de Simpson
public double integral(double a, double b, int n){
if(n%2==1) n++;
double h=(b-a)/n;
double suma=f(a)+f(b);
for(int i=1; i<n; i+=2){
suma+=4*f(a+i*h);
}
for(int i=2; i<n; i+=2){
suma+=2*f(a+i*h);
}
return (suma*h/3);
}
double f(double z){
double temp=Math.exp(-z*z/(4*t))*bessi0(x*z/(2*t))*z;
return temp;
}
public double bessi0(double x) {
//Returns the modifed Bessel function I0(x) for any real x.
double ax,ans;
double y; //Accumulate polynomials in double precision.
if ((ax=Math.abs(x)) < 3.75) { //Polynomial t.
y=x/3.75;
y*=y;
ans=1.0+y*(3.5156229+y*(3.0899424+y*(1.2067492+y*(0.2659732
+y*(0.360768e-1+y*0.45813e-2)))));
} else {
y=3.75/ax;
ans=(Math.exp(ax)/Math.sqrt(ax))*(0.39894228+y*(0.1328592e1+y*(0.225319e-2+
y*(-0.157565e-2+y*(0.916281e-2+y*(-0.2057706e1+y*(0.2635537e-1
+y*(-0.1647633e-1+y*0.392377e-2))))))));
}
return ans;
}
//se representa la funcin
y=Math.exp(-x*x/(4*t))*integral(0.0, 1.0, 40)/(2*t);