summaryrefslogtreecommitdiff
path: root/3875/CH7/EX7.2/Ex7_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH7/EX7.2/Ex7_2.sce')
-rw-r--r--3875/CH7/EX7.2/Ex7_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3875/CH7/EX7.2/Ex7_2.sce b/3875/CH7/EX7.2/Ex7_2.sce
new file mode 100644
index 000000000..85ce42be4
--- /dev/null
+++ b/3875/CH7/EX7.2/Ex7_2.sce
@@ -0,0 +1,14 @@
+clc;
+clear;
+P=10 //power in watt
+d=10 //distance from the source in m
+n=1 //refractive index
+c=3*10^8 //velocity of light in m/s
+myu_0=4*10^-7 //vaccum permittivity
+
+//calculation
+I=P/(4*%pi*d^2) //intensity in W/m^2
+E_0=sqrt(2*c*myu_0*I)/n
+
+mprintf("The electric field of the bulb = %f V/m",E_0)
+//The answer given in the textbook is wrong.