diff options
Diffstat (limited to '2258/CH6/EX6.9')
-rwxr-xr-x | 2258/CH6/EX6.9/6_9.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2258/CH6/EX6.9/6_9.sce b/2258/CH6/EX6.9/6_9.sce new file mode 100755 index 000000000..363f0f141 --- /dev/null +++ b/2258/CH6/EX6.9/6_9.sce @@ -0,0 +1,18 @@ +clc();
+clear;
+// To calculate the field strength and total dipole moment
+V=15; //potential difference in volts
+C=6; //capacity in micro farad
+C=C*10^-6; //capacity in farad
+epsilon_0=8.84*10^-12; //f/m
+epsilon_r=8;
+A=360; //surface area in cm^2
+A=A*10^-4; //surface area in m^2
+E=(V*C)/(epsilon_0*epsilon_r*A);
+d=epsilon_0*(epsilon_r-1)*V*A;
+printf("field strength in V/m is");
+disp(E);
+printf("total dipole moment in cm is");
+disp(d);
+
+//answer for field strength E given in the book is wrong
|