summaryrefslogtreecommitdiff
path: root/3020/CH21/EX21.3/ex21_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH21/EX21.3/ex21_3.sce')
-rwxr-xr-x3020/CH21/EX21.3/ex21_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3020/CH21/EX21.3/ex21_3.sce b/3020/CH21/EX21.3/ex21_3.sce
new file mode 100755
index 000000000..e5d98da59
--- /dev/null
+++ b/3020/CH21/EX21.3/ex21_3.sce
@@ -0,0 +1,10 @@
+
+clc;
+clear all;
+er=4.94;//relative permittivity
+n2=2.69;//square of refractive index
+//let x=Xi/Xe
+a=(er-1)*(n2+2);//temporary variable
+b=(er+2)*(n2-1);//temporary variable
+x=(a/b)-1;//ratio of the electronic to ionic polarisability
+disp('',1/x,'ratio of the electronic to ionic polarisability Xe/Xi is')