summaryrefslogtreecommitdiff
path: root/3648/CH21/EX21.2/Ex21_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH21/EX21.2/Ex21_2.sce')
-rw-r--r--3648/CH21/EX21.2/Ex21_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH21/EX21.2/Ex21_2.sce b/3648/CH21/EX21.2/Ex21_2.sce
new file mode 100644
index 000000000..7bc9ea779
--- /dev/null
+++ b/3648/CH21/EX21.2/Ex21_2.sce
@@ -0,0 +1,10 @@
+//Example 21_2
+clc();
+clear;
+//To find the value of magnetic field
+eo=4.2*10^-3 //units in V/m
+c=3*10^8 //Units in meters/sec
+bo=eo/c //Units in T
+printf("The value of the magnetic field is Bo=")
+disp(bo)
+printf("T")