Question: delay differential equations

@tomleslie 

Dear Tom,

I need your help. I have a delay differential equation to solve and extract the value of the solution y(t) at a selected point of the independent variable t.  I am uploading a small sample code. 

Thanks.
 

dsys := {diff(y(t), t) = -y(t-1), y(0) = 2}; dsn := dsolve(dsys, numeric)

{diff(y(t), t) = -y(t-1), y(0) = 2}

(1)

 

 

``


 

Download delay-differential-equation.mw
 

dsys := {diff(y(t), t) = -y(t-1), y(0) = 2}; dsn := dsolve(dsys, numeric)

{diff(y(t), t) = -y(t-1), y(0) = 2}

(1)

 

 

``


 

Download delay-differential-equation.mw

 

Please Wait...