diff options
Diffstat (limited to '3669/CH6/EX6.2/2.sce')
-rw-r--r-- | 3669/CH6/EX6.2/2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3669/CH6/EX6.2/2.sce b/3669/CH6/EX6.2/2.sce new file mode 100644 index 000000000..62f973eab --- /dev/null +++ b/3669/CH6/EX6.2/2.sce @@ -0,0 +1,14 @@ +
+//Variable declaration
+epsilon0=8.85*10**-12;
+A=100*10**-4; //area(m**2)
+d=1*10**-2; //seperation(m)
+V=100; //potential(V)
+
+//Calculation
+C=epsilon0*A/d; //capacitance(F)
+Q=C*V; //charge on plates(C)
+
+//Result
+printf('capacitance is %e F \n',C)
+printf('charge on plates is %e C \n',Q)
|