diff options
Diffstat (limited to '3648/CH19/EX19.1/Ex19_1.sce')
-rw-r--r-- | 3648/CH19/EX19.1/Ex19_1.sce | 12 |
1 files changed, 12 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)
|