I'm just learning ODEs and have a textbook problem I'm trying to plot in Maple 13.
For the ODEs, In the first year I have a certain behaviour (contaminated water flows into a pool) and in subsequent years fresh water enters the pool.
I'd like to show both behaviours on the same plot. How would you do this?
Here is what I did to make two separate plots:
In the first year - I have contaminatation of a pool:
ode1 := diff(q(t), t) = 3-3*q(t)/10^4
DEplot(ode1, q(t), t = 0 .. 8760, [q(0) = 0], title = "contaminant accumulation in the first year")
In second years and subsequent years, the contamination stops and is replaced by fresh water:
ode2 := diff(q(t), t) = -3*q(t)/10^4;
DEplot(ode2, q(t), t = 0 .. 17520, [q(0) = 17520], title = "contaminant dissipation in second year");