summaryrefslogtreecommitdiff
path: root/24/CH26/EX26.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH26/EX26.6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '24/CH26/EX26.6')
-rwxr-xr-x24/CH26/EX26.6/Example26_6.sce38
-rwxr-xr-x24/CH26/EX26.6/Example26_6_result.txt17
2 files changed, 55 insertions, 0 deletions
diff --git a/24/CH26/EX26.6/Example26_6.sce b/24/CH26/EX26.6/Example26_6.sce
new file mode 100755
index 000000000..6823913c5
--- /dev/null
+++ b/24/CH26/EX26.6/Example26_6.sce
@@ -0,0 +1,38 @@
+exec('electrostatics.sci', -1)
+
+//Given that
+A = 115*10^-4 //in m^2
+d = 1.24*10^-2 //in meter
+Vo = 85.5 //in Volts
+b = 0.780*10^-2 //in meter
+x = 2.61
+
+//Sample Problem 26-6a
+printf("**Sample Problem 26-6a**\n")
+Co = A*Eo/d
+printf("The capacitance of the plates before the dielectric slab is inserted is equal to %fpF\n", Co*10^12)
+
+//Sample Problem 26-6b
+printf("\n**Sample Problem 26-6b**\n")
+Q = Co*Vo
+printf("Free charge on the plates is equal to%fpC\n", Q*10^12)
+
+//Sample Problem 26-6c
+printf("\n**Sample Problem 26-6c**\n")
+E = Q/(A*Eo)
+printf("The electric field is equal to %fV/m\n", E)
+
+//Sample Problem 26-6d
+printf("\n**Sample Problem 26-6d**\n")
+E1 = Q/(A*Eo*x)
+printf("The electric field in dielectric slab is equal to %fV/m\n", E1)
+
+//Sample Problem 26-6e
+printf("\n**Sample Problem 26-6e**\n")
+V = E*(d-b) + E1*b
+printf("The new potential difference is equal to %fV\n", V)
+
+//Sample Problem 26-6f
+printf("\n**Sample Problem 26-6f**\n")
+C = Q/V
+printf("The new capacitance is equal to %fpF", C*10^12) \ No newline at end of file
diff --git a/24/CH26/EX26.6/Example26_6_result.txt b/24/CH26/EX26.6/Example26_6_result.txt
new file mode 100755
index 000000000..70f2e3fba
--- /dev/null
+++ b/24/CH26/EX26.6/Example26_6_result.txt
@@ -0,0 +1,17 @@
+**Sample Problem 26-6a**
+The capacitance of the plates before the dielectric slab is inserted is equal to 8.207661pF
+
+**Sample Problem 26-6b**
+Free charge on the plates is equal to701.755040pC
+
+**Sample Problem 26-6c**
+The electric field is equal to 6895.161290V/m
+
+**Sample Problem 26-6d**
+The electric field in dielectric slab is equal to 2641.824249V/m
+
+**Sample Problem 26-6e**
+The new potential difference is equal to 52.323971V
+
+**Sample Problem 26-6f**
+The new capacitance is equal to 13.411731pF \ No newline at end of file