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 /2258/CH6/EX6.2 | |
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 '2258/CH6/EX6.2')
-rwxr-xr-x | 2258/CH6/EX6.2/6_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2258/CH6/EX6.2/6_2.sce b/2258/CH6/EX6.2/6_2.sce new file mode 100755 index 000000000..5ce7289ab --- /dev/null +++ b/2258/CH6/EX6.2/6_2.sce @@ -0,0 +1,21 @@ +clc();
+clear;
+// To calculate the ratio between electronic and ionic polarizability
+epsilon_r=4.94;
+N=2.69; //let n^2 be N
+//(epsilon_r-1)/(epsilon_r+2) = (N*alpha)/(3*epsilon_0)
+//alpha = alpha_e+alpha_i
+//therefore (epsilon_r-1)/(epsilon_r+2) = (N*(alpha_e+alpha_i))/(3*epsilon_0)
+//let (N*(alpha_e+alpha_i))/(3*epsilon_0) be X
+X=(epsilon_r-1)/(epsilon_r+2);
+//Ez=n^2
+//therefore (N-1)/(N+2) = (N*alpha_e)/(3*epsilon_0)
+//let (N*alpha_e)/(3*epsilon_0) be Y
+Y=(N-1)/(N+2);
+//dividing X/Y = (N*(alpha_e+alpha_i))/(N*alpha_e)
+//therefore X/Y = 1+(alpha_i/alpha_e)
+//let alpha_i/alpha_e be A
+R=(X/Y)-1;
+printf("ratio between electronic and ionic polarizability is %f",R);
+
+//answer given in the book is wrong in the second part
|