summaryrefslogtreecommitdiff
path: root/1826/CH18/EX18.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH18/EX18.8
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 '1826/CH18/EX18.8')
-rwxr-xr-x1826/CH18/EX18.8/ex18_8.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1826/CH18/EX18.8/ex18_8.sce b/1826/CH18/EX18.8/ex18_8.sce
new file mode 100755
index 000000000..4e78b292d
--- /dev/null
+++ b/1826/CH18/EX18.8/ex18_8.sce
@@ -0,0 +1,9 @@
+// Example 18.8, page no-464
+clear
+clc
+N=5*10^28 //m^-3
+alfe=2*10^-40 //F m^2
+eps=8.854*10^-12
+P=N*alfe
+E_ratio=1/(1-(P/(3*eps)))
+printf("The ratio of the internal field to the applied field = %.4f",E_ratio)