summaryrefslogtreecommitdiff
path: root/3665/CH10/EX10.6/Ex10_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH10/EX10.6/Ex10_6.sce')
-rw-r--r--3665/CH10/EX10.6/Ex10_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3665/CH10/EX10.6/Ex10_6.sce b/3665/CH10/EX10.6/Ex10_6.sce
new file mode 100644
index 000000000..a5ade568c
--- /dev/null
+++ b/3665/CH10/EX10.6/Ex10_6.sce
@@ -0,0 +1,17 @@
+clc//
+//
+//
+
+//Variable declaration
+epsilon0=8.85*10^-12;
+A=100*10^-4; //area(m^2)
+d=10^-2; //diameter(m)
+V=100; //potential(V)
+
+//Calculation
+C=epsilon0*A/d; //capacitance(F)
+Q=C*V; //charge on plates(coulomb)
+
+//Result
+printf("\n capacitance is %e F",C)
+printf("\n charge on plates is %e coulomb",Q)