summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.17/Ex4_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH4/EX4.17/Ex4_17.sce')
-rw-r--r--3769/CH4/EX4.17/Ex4_17.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3769/CH4/EX4.17/Ex4_17.sce b/3769/CH4/EX4.17/Ex4_17.sce
new file mode 100644
index 000000000..9bcd0e7da
--- /dev/null
+++ b/3769/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,22 @@
+clear
+//Given
+Cab=10 //micro F
+C1=8.0 //micro F
+C2=8.0
+C3=8
+C4=8
+C5=12
+V=400
+
+//Calculation
+Cbc=((C1*C2)/(C1+C2))+C3+C4
+Cac=Cab*Cbc/(Cab+Cbc)
+Ccd=C1+C5
+Cad=Cac*Ccd/(Cac+Ccd)
+q=Cad*V
+Vcd=q/Ccd
+q1=C5*Vcd
+
+//Result
+printf("\n (i) The equivalent capacitance between A and D is %0.3f micro f", Cad)
+printf("\n (ii) The charge on 12 micro F capacitor is %0.3f mC",q1*10**-3)