blob: 576f3fdfa68ecf4bce0e229636b00ee6b5893721 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Finding charge and capacity
//Example 15.28(pg. 411)
clc
clear
SI=0.2//steady current in A
t=0.2//time in sec
Q=SI*t//charge given to condenser in Coulomb
V=220//PD across condenser in Volts
C=Q/V//Capacitance of condenser in F
C1=C*(10^6)//Capacitance in mircoF
printf('Thus the Charge of condenser is %2.2f Coulomb\n',Q)
printf('And the Capacitance of condenser is %3.2f microF',C1)
|