blob: 7248ed30fa64f67d3abe747c7763fefe3cccc75e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
//
//
//
//Variable declaration
epsilon0=8.85*10^-12; //relative permeability(F/m)
R=0.053*10^-9; //radius(nm)
N=9.8*10^26; //number of atoms
//Calculations
alphae=4*%pi*epsilon0*R^3; //electronic polarizability(Fm^2)
epsilonr=1+(4*%pi*N*R^3); //relative permittivity
//Result
printf("\n electronic polarizability is %0.4f *10^-41 Fm^2",alphae*10^41)
printf("\n relative permittivity is %0.4f ",epsilonr)
|