clear // //given dv=20 //dv/dt c=25*(10**-6) //case a i=c*dv printf("\n i= %e A",i) //case b q=c*dv printf("\n q= %e C",q) //case c p=dv*i printf("\n p= %e W",p) //case d v=dv**2 wc=(c*v)/2 printf("\n wc= %e J",wc)