summaryrefslogtreecommitdiff
path: root/3411/CH6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3411/CH6
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 '3411/CH6')
-rw-r--r--3411/CH6/EX6.1.u1/Ex6_1_u1.sce11
-rw-r--r--3411/CH6/EX6.1.u1/Ex6_1_u1.txt1
-rw-r--r--3411/CH6/EX6.2.u1/Ex6_2_u1.sce12
-rw-r--r--3411/CH6/EX6.2.u1/Ex6_2_u1.txt1
-rw-r--r--3411/CH6/EX6.3.u1/Ex6_3_u1.sce12
-rw-r--r--3411/CH6/EX6.3.u1/Ex6_3_u1.txt1
-rw-r--r--3411/CH6/EX6.4.u1/Ex6_4_u1.sce12
-rw-r--r--3411/CH6/EX6.4.u1/Ex6_4_u1.txt3
-rw-r--r--3411/CH6/EX6.5.u1/Ex6_5_u1.sce11
-rw-r--r--3411/CH6/EX6.5.u1/Ex6_5_u1.txt1
-rw-r--r--3411/CH6/EX6.6.u1/Ex6_6_u1.sce14
-rw-r--r--3411/CH6/EX6.6.u1/Ex6_6_u1.txt3
-rw-r--r--3411/CH6/EX6.7.u1/Ex6_7_u1.sce11
-rw-r--r--3411/CH6/EX6.7.u1/Ex6_7_u1.txt3
14 files changed, 96 insertions, 0 deletions
diff --git a/3411/CH6/EX6.1.u1/Ex6_1_u1.sce b/3411/CH6/EX6.1.u1/Ex6_1_u1.sce
new file mode 100644
index 000000000..e98cf65d8
--- /dev/null
+++ b/3411/CH6/EX6.1.u1/Ex6_1_u1.sce
@@ -0,0 +1,11 @@
+//Example 6_1_u1
+clc();
+clear;
+//To calculate the Electric field of a laser beam
+i=10^-3/(3*10^-6) //units in W/mts^2
+c=3*10^8 //units in mts/sec
+u=4*10^-7 //units in SI
+n=1
+E0=sqrt((i*2*c*u)/n) //units in V/mts
+printf("The electric field is E0=%.2f V/m",E0)
+//In text book answer is given E0=501 V/m but the correct answer is E0=282.84 V/m
diff --git a/3411/CH6/EX6.1.u1/Ex6_1_u1.txt b/3411/CH6/EX6.1.u1/Ex6_1_u1.txt
new file mode 100644
index 000000000..317424c39
--- /dev/null
+++ b/3411/CH6/EX6.1.u1/Ex6_1_u1.txt
@@ -0,0 +1 @@
+The electric field is E0=282.84 V/m \ No newline at end of file
diff --git a/3411/CH6/EX6.2.u1/Ex6_2_u1.sce b/3411/CH6/EX6.2.u1/Ex6_2_u1.sce
new file mode 100644
index 000000000..afbfbbcb0
--- /dev/null
+++ b/3411/CH6/EX6.2.u1/Ex6_2_u1.sce
@@ -0,0 +1,12 @@
+//Example 6_2_u1
+clc();
+clear;
+//To calculate the Electric field of a bulb
+w=10 //units in W
+i=(100*w)/(4*%pi*10^2) //Units in W/mts^2
+c=3*10^8 //units in mts/sec
+u=4*10^-7 //units in SI
+n=1
+E0=sqrt((i*2*c*u)/n) //units in V/mts
+printf("The electric field of the bulb is E0=%.2f V/mts",E0)
+//In text book answer is given E0=2.4 V/m but the correct answer is E0=13.82 V/m
diff --git a/3411/CH6/EX6.2.u1/Ex6_2_u1.txt b/3411/CH6/EX6.2.u1/Ex6_2_u1.txt
new file mode 100644
index 000000000..b60f8fecc
--- /dev/null
+++ b/3411/CH6/EX6.2.u1/Ex6_2_u1.txt
@@ -0,0 +1 @@
+The electric field of the bulb is E0=13.82 V/mts \ No newline at end of file
diff --git a/3411/CH6/EX6.3.u1/Ex6_3_u1.sce b/3411/CH6/EX6.3.u1/Ex6_3_u1.sce
new file mode 100644
index 000000000..d84f3b174
--- /dev/null
+++ b/3411/CH6/EX6.3.u1/Ex6_3_u1.sce
@@ -0,0 +1,12 @@
+//Example 6_3_u1
+clc();
+clear;
+//To calculate the electric field intensity a a point
+r=6*10^-6 //units in mts
+i=(1*10^-3)/(%pi*r^2) //units in W/met^2
+c=3*10^8 //units in mts/sec
+u=4*10^-7 //units in SI
+n=1
+E=sqrt((i*2*c*u)/n) //units in V/mts
+printf("The electric field intensity a a point is given by E=%.2f V/mts",E)
+//In text book answer is given E=8.1*10^4 V/m but the correct answer is E=46065.89 V/m
diff --git a/3411/CH6/EX6.3.u1/Ex6_3_u1.txt b/3411/CH6/EX6.3.u1/Ex6_3_u1.txt
new file mode 100644
index 000000000..ff02857d9
--- /dev/null
+++ b/3411/CH6/EX6.3.u1/Ex6_3_u1.txt
@@ -0,0 +1 @@
+The electric field intensity a a point is given by E=46065.89 V/mts \ No newline at end of file
diff --git a/3411/CH6/EX6.4.u1/Ex6_4_u1.sce b/3411/CH6/EX6.4.u1/Ex6_4_u1.sce
new file mode 100644
index 000000000..4fd13fc06
--- /dev/null
+++ b/3411/CH6/EX6.4.u1/Ex6_4_u1.sce
@@ -0,0 +1,12 @@
+//Example 6_4_u1
+clc();
+clear;
+//To calculate the ratio of populations of two energy levels
+h=6.63*10^-34
+c=3*10^8
+lamda=694.3*10^-9
+kb=1.38*10^-23
+T=300
+n1_n2=exp((h*c)/(lamda*kb*T))
+printf("The ratio of Populations of two energy levels is N1/N2=")
+disp(n1_n2);
diff --git a/3411/CH6/EX6.4.u1/Ex6_4_u1.txt b/3411/CH6/EX6.4.u1/Ex6_4_u1.txt
new file mode 100644
index 000000000..bf6e975fb
--- /dev/null
+++ b/3411/CH6/EX6.4.u1/Ex6_4_u1.txt
@@ -0,0 +1,3 @@
+The ratio of Populations of two energy levels is N1/N2=
+ 1.127D+30
+ \ No newline at end of file
diff --git a/3411/CH6/EX6.5.u1/Ex6_5_u1.sce b/3411/CH6/EX6.5.u1/Ex6_5_u1.sce
new file mode 100644
index 000000000..28cf8571e
--- /dev/null
+++ b/3411/CH6/EX6.5.u1/Ex6_5_u1.sce
@@ -0,0 +1,11 @@
+//Example 6_5_u1
+clc();
+clear;
+//To find the wavelength of the radiation emitted
+h=6.63*10^-34
+c=3*10^8
+kb=1.38*10^-23
+T=300
+lamda=(h*c)/(kb*T) //units in microns
+lamda=lamda*10^6 //units in micro meters
+printf("The wavelength of the radiation emmitted is lamda=%.2f um",lamda)
diff --git a/3411/CH6/EX6.5.u1/Ex6_5_u1.txt b/3411/CH6/EX6.5.u1/Ex6_5_u1.txt
new file mode 100644
index 000000000..1b2f6aadb
--- /dev/null
+++ b/3411/CH6/EX6.5.u1/Ex6_5_u1.txt
@@ -0,0 +1 @@
+The wavelength of the radiation emmitted is lamda=48.04 um \ No newline at end of file
diff --git a/3411/CH6/EX6.6.u1/Ex6_6_u1.sce b/3411/CH6/EX6.6.u1/Ex6_6_u1.sce
new file mode 100644
index 000000000..484d7eb5d
--- /dev/null
+++ b/3411/CH6/EX6.6.u1/Ex6_6_u1.sce
@@ -0,0 +1,14 @@
+//Example 6_6_u1
+clc();
+clear;
+//To calculate the ratio of stimulated emission to Spontaneous emission
+h=6.63*10^-34
+c=3*10^8
+lamda=694.3*10^-9
+kb=1.38*10^-23
+T=300
+constant=(h*c)/(lamda*kb*T)
+R=1/(exp(constant)-1)
+printf("The ratio of stimulated emission to Spontaneous emission is R=")
+disp(R)
+//In text book answer is given R=4.98*10^-14 but the correct answer is R=8.874D-31
diff --git a/3411/CH6/EX6.6.u1/Ex6_6_u1.txt b/3411/CH6/EX6.6.u1/Ex6_6_u1.txt
new file mode 100644
index 000000000..b94fda8e1
--- /dev/null
+++ b/3411/CH6/EX6.6.u1/Ex6_6_u1.txt
@@ -0,0 +1,3 @@
+The ratio of stimulated emission to Spontaneous emission is R=
+ 8.874D-31
+ \ No newline at end of file
diff --git a/3411/CH6/EX6.7.u1/Ex6_7_u1.sce b/3411/CH6/EX6.7.u1/Ex6_7_u1.sce
new file mode 100644
index 000000000..a6232e7df
--- /dev/null
+++ b/3411/CH6/EX6.7.u1/Ex6_7_u1.sce
@@ -0,0 +1,11 @@
+//Example 6_7_u1
+clc();
+clear;
+//To calculate the no of photons emitted by the ruby laser
+p=1 //units in W
+lamda=694.3*10^-9
+h=6.63*10^-34
+c=3*10^8
+n=(p*lamda)/(h*c)
+printf("The no of photons emitted by the ruby laser is n=")
+disp(n)
diff --git a/3411/CH6/EX6.7.u1/Ex6_7_u1.txt b/3411/CH6/EX6.7.u1/Ex6_7_u1.txt
new file mode 100644
index 000000000..a05a14ee2
--- /dev/null
+++ b/3411/CH6/EX6.7.u1/Ex6_7_u1.txt
@@ -0,0 +1,3 @@
+The no of photons emitted by the ruby laser is n=
+ 3.491D+18
+ \ No newline at end of file