Euler expansion of double exponential?

Clifford
Messages
1
Reaction score
0
Simple question,

I have used the euler expansion to estimate a variable that grows as a single exponential.
adapt = Amax * exp(-tau*X);

In excerpted form:

for (i=1;i<npts; i++)
{
adapt = adapt[i-1] + (Amax -adapt[i-1]) * dt / tau;
}

where dt is the step size and tau is the 'time constant.'

Now, however, I think that the data would be better fit with a double exponential.

adapt = a(1) * exp(-tau1*X) + a(3) * exp(-tau2*X);

I am unsure how to expand this analogously to the single exponential.
thanks!

Clifford
 
Physics news on Phys.org
Assuming that a(1) and a(3) are some incremental values, you can define your system as an autonomous system as, \dot{x} = Ax where A is a 3 \times 3 matrix and x \in \mathbb{R}^3, then expand the matrix exponential. And take the first state.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...

Similar threads

Back
Top