Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "Plugging a function into a differential equation"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:2+5 =



Original Message (ID '53792') By Bill Simpson:
Perhaps you can see how to apply this. In[1]:= b[t_]:=Piecewise[{ {100,0≤t<2}, {0,2≤t<4}, {100,4≤t<4+1/2}, {0,4+1/2≤t<4+3/4}, {100,4+3/4≤t≤4+7/8} }]; DSolve[{a[t]== -a'[t]b[t]},a[t],t] Out[2]= {{a[t] -> E^Piecewise[{ {ComplexInfinity, t <= 0}, {-t/100, 0