summaryrefslogtreecommitdiff
path: root/3768/CH7/EX7.5/Ex7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH7/EX7.5/Ex7_5.sce')
-rw-r--r--3768/CH7/EX7.5/Ex7_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3768/CH7/EX7.5/Ex7_5.sce b/3768/CH7/EX7.5/Ex7_5.sce
new file mode 100644
index 000000000..dd6f1b5de
--- /dev/null
+++ b/3768/CH7/EX7.5/Ex7_5.sce
@@ -0,0 +1,16 @@
+//Example number 7.5, Page number 147
+
+clc;clear;
+close;
+
+//Variable declaration
+A=650*10**-4; //area(m**2)
+epsilon0=8.85*10**-12;
+d=4*10**-2; //seperation(m)
+Q=2*10**-10; //charge(C)
+epsilonr=3.5; //dielectric constant
+//Calculation
+C=A*epsilon0/d;
+V=Q/C; //voltage(V)
+//Result
+printf("voltage is %.1f V",V)