Can 'delay' statement be used in explicit equations? If yes, how would it be coded? Suppose to simulate this case - C0 is to be constant from t=0 to 5 hr. Afterward, It starts to decline mono-exponentially. Can this case be handled by 'delay'? I tried the following, but it didn't work.
What are other ways to handle this case?
Thanks,
Cuyue
C=(1-w)*C0 + w*(C0*exp(-k*delay(t,T)))