There are a few issues.
(1) You do not explain what is going wrong. That really belongs in the post.
(2) There seem to be a bunch of multiplication operators missing, e.g k1s[t]
should be k1*s[t]
.
(3) If I follow correctly you are letting t
range from 0 to 30 but only solve up to t=6
.
There may be other issues lurking but those were the ones I could readily find.