summaryrefslogtreecommitdiff
path: root/3014/CH7/EX7.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH7/EX7.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3014/CH7/EX7.10')
-rwxr-xr-x3014/CH7/EX7.10/Ex7_10.sce15
-rwxr-xr-x3014/CH7/EX7.10/Ex7_10.txt4
2 files changed, 19 insertions, 0 deletions
diff --git a/3014/CH7/EX7.10/Ex7_10.sce b/3014/CH7/EX7.10/Ex7_10.sce
new file mode 100755
index 000000000..d2bbf802e
--- /dev/null
+++ b/3014/CH7/EX7.10/Ex7_10.sce
@@ -0,0 +1,15 @@
+
+clc
+//Given that
+p = 500 // power in watt
+d = 1 // Distance from lamp in m
+epsilon_0 = 8.854e-12 // Permittivity of free space
+mu_0 = 4*%pi*1e-7 // Permeability of free space
+printf("Example 7.10")
+s = p/(4*%pi*d^2)// Calculation of pointing vector
+E_H_ratio = sqrt(mu_0/epsilon_0) // Calculation of ratio of Electric field and magnetic field
+H = s/E_H_ratio // Calculation of Electric field
+h = ceil(H*100)/100 // rounding off for 2 decimal places
+E= p/(4*%pi*h) // Calculation of Electric field
+printf("\n Average value of electric field at distance %d m is %f Volt/m ",d,E)
+printf("\n Average value of magnetic field at distance %d m is %f Amp-turn/m \n\n\n",d,h)
diff --git a/3014/CH7/EX7.10/Ex7_10.txt b/3014/CH7/EX7.10/Ex7_10.txt
new file mode 100755
index 000000000..762603d79
--- /dev/null
+++ b/3014/CH7/EX7.10/Ex7_10.txt
@@ -0,0 +1,4 @@
+
+Example 7.10
+ Average value of electric field at distance 1 m is 122.432765 Volt/m
+ Average value of magnetic field at distance 1 m is 0.324984 Amp-turn/m