Question: Plot DE solution of the function with RHS is an intergral

Hi, all. The problem is following. I have an ODE where right hand side is an integral function. For simplicity consider the following example:

 

with(DETools);

f:=q->int(exp(cos(s)), s=0..q);

DEplot({diff(x(t), t) = f(t)}, [x(t)], t = 0 .. 1, [[x(0) = 1]]);

 

this code doesn't work:

Error, (in DEtools/DEplot/CheckDE) extra unknowns found: s
Please Wait...