diff options
Diffstat (limited to '1952/CH8/EX8.2/Ex8_2.sce')
-rwxr-xr-x | 1952/CH8/EX8.2/Ex8_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1952/CH8/EX8.2/Ex8_2.sce b/1952/CH8/EX8.2/Ex8_2.sce new file mode 100755 index 000000000..615a9880d --- /dev/null +++ b/1952/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,9 @@ +// chapter 8 , Example 8.2 , pg 238
+r=0.5*10^-10 //radius of orbit (in m)
+e= 1.6*10^-19 //charge on electron (in C)
+n=10^16 //frequency of revolution of electron (in rps)
+I=e*n //current (in A)
+A=%pi *r^2 //area (in m^2)
+M=I*A //magnetic moment associated with motion of electron
+printf("Magnetic moment associated with motion of electron (in A m^2)")
+disp(M)
|