summaryrefslogtreecommitdiff
path: root/3665/CH11/EX11.6/Ex11_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH11/EX11.6/Ex11_6.sce')
-rw-r--r--3665/CH11/EX11.6/Ex11_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3665/CH11/EX11.6/Ex11_6.sce b/3665/CH11/EX11.6/Ex11_6.sce
new file mode 100644
index 000000000..3f8e2c8e4
--- /dev/null
+++ b/3665/CH11/EX11.6/Ex11_6.sce
@@ -0,0 +1,15 @@
+clc//
+//
+//
+
+//Variable declaration
+r=5.29*10^-11; //radius(m)
+B=2; //magnetic field(T)
+e=1.602*10^-19; //charge(c)
+m=9.108*10^-31; //mass(kg)
+
+//Calculation
+mew_ind=e^2*r^2*B/(4*m); //change in magnetic moment(Am^2)
+
+//Result
+printf("\n change in magnetic moment is %0.3f *10^-29 Am^2",mew_ind*10^29)