blob: cb2b243488788d284d619c93c863efda08d928a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
e=1.6*10^-19; //charge(coulomb)
m=9.1*10^-31; //mass(kg)
h=6.64*10^-34; //plank's constant(Js)
//Calculation
mewb=e*h/(4*%pi*m); //bohr's magneton(J/T)
//Result
printf("\n bohrs magneton is %0.2f *10^-24 J/T",mewb*10^24)
|