summaryrefslogtreecommitdiff
path: root/1991/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1991/CH3
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 '1991/CH3')
-rwxr-xr-x1991/CH3/EX3.1/1.sce13
-rwxr-xr-x1991/CH3/EX3.2/2.sce10
-rwxr-xr-x1991/CH3/EX3.3/3.sce9
-rwxr-xr-x1991/CH3/EX3.4/4.sce8
-rwxr-xr-x1991/CH3/EX3.5/5.sce16
-rwxr-xr-x1991/CH3/EX3.6/6.sce16
6 files changed, 72 insertions, 0 deletions
diff --git a/1991/CH3/EX3.1/1.sce b/1991/CH3/EX3.1/1.sce
new file mode 100755
index 000000000..049318ab1
--- /dev/null
+++ b/1991/CH3/EX3.1/1.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//calculation of angle of refraction
+rj=(sind(6)/0.76)//from snells law
+x=asind(rj)
+printf("the refractive index of jelly is %3.3f deg",x)
+// calculating angle of incidence
+printf("\nsince angle of refraction and angle of incidence are alternate angles , angle of incidence is %3.3f deg",x)
+//calculating angle of refraction
+np=0.59/0.76 // according to relationship of media
+jnp=sind(7.9)/0.78
+rp=asind(jnp)
+printf("\nthe angle of refraction is %3.3f deg",rp)
diff --git a/1991/CH3/EX3.2/2.sce b/1991/CH3/EX3.2/2.sce
new file mode 100755
index 000000000..2fda7980a
--- /dev/null
+++ b/1991/CH3/EX3.2/2.sce
@@ -0,0 +1,10 @@
+clc
+clear
+//input data
+a=1.28 //refractive index of X
+b=1.41 //refractive index of Y
+//calculation of condition for total internal reflection
+x=(a/b)
+c=asind(x) // calculating critical angle
+//output
+printf("light incident with an angle greater than %3.3f degrees will be totally internally reflected",c)
diff --git a/1991/CH3/EX3.3/3.sce b/1991/CH3/EX3.3/3.sce
new file mode 100755
index 000000000..8c69441fc
--- /dev/null
+++ b/1991/CH3/EX3.3/3.sce
@@ -0,0 +1,9 @@
+clc
+clear
+//input data
+nb=0.67 //refractive index
+va=3.45*10^3
+//calculation
+vb=va/nb //snells law
+//output
+printf("the speed of the wave in medium b is %3.3f m/s",vb)
diff --git a/1991/CH3/EX3.4/4.sce b/1991/CH3/EX3.4/4.sce
new file mode 100755
index 000000000..a9443e485
--- /dev/null
+++ b/1991/CH3/EX3.4/4.sce
@@ -0,0 +1,8 @@
+clc
+clear
+//input data
+f=120 //lowest frequency
+//calculation
+x=3*f // the next higher frequency is thrice the lowest frequency
+//output
+printf("the next higher frequency where the antinode is formed is at %3.3f Hz",x)
diff --git a/1991/CH3/EX3.5/5.sce b/1991/CH3/EX3.5/5.sce
new file mode 100755
index 000000000..03d668708
--- /dev/null
+++ b/1991/CH3/EX3.5/5.sce
@@ -0,0 +1,16 @@
+clc
+clear
+//input data
+amp=3.4*10^-5 //amplitude of the wave
+af=5.7*10^2 //angular frequency
+k=20 //wavenumber
+//calculation
+//wave frequency
+f=af/(2*%pi)
+l=(2*%pi)/k
+v=f*l
+printf("the wave frequency is %3.3f and the speed is %3.3f m/s",f,v)
+//calculating greatest speed for the wave to pass through
+vmax=af*amp //greatest speed
+//output
+printf("\nthe greatest value of speed for the wave to pass through is %3.3f m/s",vmax)
diff --git a/1991/CH3/EX3.6/6.sce b/1991/CH3/EX3.6/6.sce
new file mode 100755
index 000000000..66ca751af
--- /dev/null
+++ b/1991/CH3/EX3.6/6.sce
@@ -0,0 +1,16 @@
+clc
+clear
+//input
+k=16
+w=23
+//calculation
+//1.wavelength
+l=2*%pi/k
+//output
+printf("the wavelength is %3.3f m",l)
+//2.wavespeed
+v=(l*w)/(2*%pi)
+printf("\nthe wavespeed is %3.3f m/s",v)
+//3.pase difference
+pha=(0.5*2*%pi)/0.39 // phase difference of molecules 0.5m apart
+printf("\n the phase difference is %3.3f radians",pha)