I have the following system of coupled differential equations:
$\frac{d x(t)}{dt} = c_1 x(t) - c_2 y(t) + \gamma_1(t)$ and $\frac{d y(t)}{dt} = c_2 x(t) - c_1 y(t) + \gamma_2(t)$
eqns :=
{x'[t] == c1 x[t] - c2 y[t] + gamma1[t],
y'[t] == c2 x[t] - c1 y[t] + gamma2[t]}
initialvalues := {x[0] == x0, y[0] == y0}
Here, $c_1$ and $c_2$ are constants, while as $\gamma_1$ and $\gamma_2$ are unknown functions of $t$. Given the initial conditions $x(0)=x_0$ and $y(0)=y_0$, how can I obtain a solutions $x(t)$ and $y(t)$?
eqns
andinitial values
, being simple labels for their righthand sides, are better assigned withSet
(=
) than withSetDelayed
(:=
). $\endgroup$