summaryrefslogtreecommitdiff
path: root/3363/CH10/EX10.6/Ex10_6.sce
blob: 85ffc3ad1719cf8a69105c4e232c6bd03ac11182 (plain)
1
2
3
4
5
6
7
//Example 10.6, page 387
clc
h=6.6*10^-34//in J-s
v=1*10^10//per sec
ub=9.3*10^-24//in amp-m2
B=(h*v)/(2*ub)
printf("\n The Magentic energy is  %e  Tesla",B)