summaryrefslogtreecommitdiff
path: root/3363/CH8/EX8.1/Ex8_1.sce
blob: f29dd49124ffaa70a4147b7ce36006ed705c2319 (plain)
1
2
3
4
5
6
//Example 8.1, page 287
clc
u=0.927*10^-23//amp-m2
B=1//in J/amp-m2
E=2*u*B
printf("\n Energy supplied to the dipole  is %e  J ",E)