summaryrefslogtreecommitdiff
path: root/3875/CH7/EX7.1/Ex7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH7/EX7.1/Ex7_1.sce')
-rw-r--r--3875/CH7/EX7.1/Ex7_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3875/CH7/EX7.1/Ex7_1.sce b/3875/CH7/EX7.1/Ex7_1.sce
new file mode 100644
index 000000000..23bbc1881
--- /dev/null
+++ b/3875/CH7/EX7.1/Ex7_1.sce
@@ -0,0 +1,13 @@
+clc;
+clear;
+P=10^-3 //power in watt
+A=3*10^-6 //cross section area in m^2
+n=1 //refractive index
+c=3*10^8 //velocity of light in m/s
+myu=4*10^-7 //vaccum permittivity
+
+//calculation
+I=P/A // Intensity in W/m^2s
+E_0=sqrt((2*c*myu*I)/n)
+mprintf("The electic field of the laser beam is = %d V/m",E_0)
+//The answer provided in the textbook is wrong