summaryrefslogtreecommitdiff
path: root/3768/CH7/EX7.9
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH7/EX7.9')
-rw-r--r--3768/CH7/EX7.9/Ex7_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3768/CH7/EX7.9/Ex7_9.sce b/3768/CH7/EX7.9/Ex7_9.sce
new file mode 100644
index 000000000..236180aad
--- /dev/null
+++ b/3768/CH7/EX7.9/Ex7_9.sce
@@ -0,0 +1,16 @@
+//Example number 7.9, Page number 149
+
+clc;clear;
+close;
+
+//Variable declaration
+C=4*10**-6; //capacitance(F)
+epsilonr=200; //relative dielectric constant
+V=2000; //voltage(V)
+//Calculation
+C0=C/epsilonr; //energy in condenser(F)
+E=C0*V/2; //energy in dielectric(J)
+//Result
+printf("energy in condenser is %.e F",C0)
+printf("\n energy in dielectric is %.1e J",E)
+//answer in the book is wrong