summaryrefslogtreecommitdiff
path: root/3648/CH19/EX19.1
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH19/EX19.1')
-rw-r--r--3648/CH19/EX19.1/Ex19_1.sce12
-rw-r--r--3648/CH19/EX19.1/Ex19_1.txt1
2 files changed, 13 insertions, 0 deletions
diff --git a/3648/CH19/EX19.1/Ex19_1.sce b/3648/CH19/EX19.1/Ex19_1.sce
new file mode 100644
index 000000000..0ee12f957
--- /dev/null
+++ b/3648/CH19/EX19.1/Ex19_1.sce
@@ -0,0 +1,12 @@
+//Example 19_1
+clc();
+clear;
+//To find the flux in the room
+l=4 //Units in meters
+b=0.8 //Units in meters
+theta=20 //Units in degrees
+a=l*b //Units in meters^2
+b=4*10^-5 //Units in T
+thetaa=cos(theta*%pi/180) //Units in radians
+phi=b*thetaa*a //Units in T meters^2
+printf("The flux in the room is Phi=%.5f T meters^2",phi)
diff --git a/3648/CH19/EX19.1/Ex19_1.txt b/3648/CH19/EX19.1/Ex19_1.txt
new file mode 100644
index 000000000..2d2ff9bb3
--- /dev/null
+++ b/3648/CH19/EX19.1/Ex19_1.txt
@@ -0,0 +1 @@
+The flux in the room is Phi=0.00012 T meters^2 \ No newline at end of file