Question: How can I solve DE with function which is solution of another DE?

Hi.

I can explain my question on the simplified example:

 

sol1 := dsolve({diff(x(t), t) = x(t), x(0) = 0.0}, numeric); 

func := q -> op(2, op(2, sol1(q))); 

dsolve({diff(z(t), t) = func(t) * z(t), z(0) = 0.1});

 

But i take a throw. It is clear, because, I try to call op(2, sol1(t)). Which way I whould use to solve my problem?

Please Wait...