blob: 65a08a07c61ffdb3d352a7941415ac08484d7ec3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//
//
//Variable declaration
epsilon0=8.85*10^-12; //relative permeability(F/m)
epsilonr=1.0000684; //dielectric constant
N=2.7*10^25; //number of atoms
//Calculations
alphae=epsilon0*(epsilonr-1)/N; //electronic polarizability(Fm^2)
//Result
printf("\n electronic polarizability is %e Fm^2",alphae)
printf("\n answer varies due to rounding off errors")
|