summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.20/Ex9_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH9/EX9.20/Ex9_20.sce')
-rw-r--r--3769/CH9/EX9.20/Ex9_20.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH9/EX9.20/Ex9_20.sce b/3769/CH9/EX9.20/Ex9_20.sce
new file mode 100644
index 000000000..862154294
--- /dev/null
+++ b/3769/CH9/EX9.20/Ex9_20.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+m=0.2 //Kg
+I=2 //A
+l=1.5 //m
+g=9.8
+
+//Calculation
+B=(m*g)/(I*l)
+
+//Result
+printf("\n Magnitude of the magnetic field is %0.2f T",B)