summaryrefslogtreecommitdiff
path: root/3020/CH21/EX21.8/ex21_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3020/CH21/EX21.8/ex21_8.sce
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 '3020/CH21/EX21.8/ex21_8.sce')
-rwxr-xr-x3020/CH21/EX21.8/ex21_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3020/CH21/EX21.8/ex21_8.sce b/3020/CH21/EX21.8/ex21_8.sce
new file mode 100755
index 000000000..fc4f5a2f5
--- /dev/null
+++ b/3020/CH21/EX21.8/ex21_8.sce
@@ -0,0 +1,11 @@
+clc;
+clear all;
+e0=8.854e-12; //permittivity of vacume
+N=5e28; //no of atoms present per m^3 N
+xe=2e-40; //polarisability
+//P=N*xe*Ei and Ei=E+(P/(3*e0)) so..
+//Ei=E+(N*xe*Ei/(3*e0)) so...
+//Ei/E=1/(1-(N*xe/(3*e0))) so..lets take rt=Ei/E
+m=(N*xe)/(3*e0)
+rt=1/(1-m);//ratio of internal field to applied field
+disp('',rt,'ratio of internal field to applied field is:')