Find the charge q(t)q(t) flowing through a device if the current is:

Find the charge q(t)q(t) flowing through a device if the current is:

(a) i(t)=3 A,q(0)=1 C

b) i(t)=(2t+5) mA,q(0)=0

c) i(t)=20 cos(10t+π/6) μA,q(0)=2 μC

d) i(t)=10e−30t sin40t A,q(0)=0