blob: 6fc6f09a3adcc51d06922d9f4255db9dfd286e12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//
//
//Variable declaration
epsilonr=4.94; //dielectric constant
n2=2.69;
//Calculations
x=(epsilonr-1)/(epsilonr+2);
y=(n2-1)/(n2+2);
alpha=1/((x/y)-1); //ratio between electronic and ionic polarizability
//Result
printf("\n ratio between electronic and ionic polarizability is %0.3f ",alpha)
|