diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3020/CH21/EX21.8 | |
download | Scilab-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')
-rwxr-xr-x | 3020/CH21/EX21.8/ex21_8.sce | 11 |
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:')
|