blob: bcae4482a7ce20fc4aa9fa2118f6e4ca4953b801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
clear
//INPUT DATA
er=4.94//static dielecric constant of a material
n=2.69//n is the index of friction
//CALCULATION
x=((er-1)*(n+2))/((er+2)*(n-1))-1//Ratio between ionic and electronic polarisability of this material
y=1/x//Ratio between electronic and ionic polarisability of this material
//OUTPUT
printf('Ratio between electronic and ionic polarisability of this material is %3.4f ',y)
|