diff options
Diffstat (limited to '3665/CH11/EX11.5')
-rw-r--r-- | 3665/CH11/EX11.5/Ex11_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3665/CH11/EX11.5/Ex11_5.sce b/3665/CH11/EX11.5/Ex11_5.sce new file mode 100644 index 000000000..7ce3e122a --- /dev/null +++ b/3665/CH11/EX11.5/Ex11_5.sce @@ -0,0 +1,15 @@ +clc//
+//
+//
+
+//Variable declaration
+r=5*10^-2 //radius(m)
+I=500*10^-3; //current(A)
+
+//Calculation
+A=2*%pi*r^2;
+mew_m=I*A; //magnetic moment(Am^2)
+
+//Result
+printf("\n magnetic moment is %0.3f *10^-3 Am^2",mew_m*10^3)
+printf("\n answer given in the book varies due to rounding off errors")
|