summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.28/Ex15_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH15/EX15.28/Ex15_28.sce')
-rwxr-xr-x2345/CH15/EX15.28/Ex15_28.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2345/CH15/EX15.28/Ex15_28.sce b/2345/CH15/EX15.28/Ex15_28.sce
new file mode 100755
index 000000000..576f3fdfa
--- /dev/null
+++ b/2345/CH15/EX15.28/Ex15_28.sce
@@ -0,0 +1,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)