diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1991/CH5 | |
download | Scilab-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/CH5')
-rwxr-xr-x | 1991/CH5/EX5.1/1.sce | 12 | ||||
-rwxr-xr-x | 1991/CH5/EX5.2/2.sce | 15 | ||||
-rwxr-xr-x | 1991/CH5/EX5.3/3.sce | 12 | ||||
-rwxr-xr-x | 1991/CH5/EX5.4/4.sce | 12 | ||||
-rwxr-xr-x | 1991/CH5/EX5.5/5.sce | 16 | ||||
-rwxr-xr-x | 1991/CH5/EX5.6/6.sce | 11 |
6 files changed, 78 insertions, 0 deletions
diff --git a/1991/CH5/EX5.1/1.sce b/1991/CH5/EX5.1/1.sce new file mode 100755 index 000000000..568ffbb9f --- /dev/null +++ b/1991/CH5/EX5.1/1.sce @@ -0,0 +1,12 @@ +clc
+clear
+//INPUT DATA
+np=1.39 //refractive index of prism
+nl=1.29 //refractive index of liquid
+a=62 //refracting angle of prism
+//calculation
+x=np*sind(62/2)/nl//snells law
+y=asind(x)
+d=(y*2)-a//minimum deviation
+//output
+printf("the minimum deviation is %3.3f degree",d)
diff --git a/1991/CH5/EX5.2/2.sce b/1991/CH5/EX5.2/2.sce new file mode 100755 index 000000000..89d1a069a --- /dev/null +++ b/1991/CH5/EX5.2/2.sce @@ -0,0 +1,15 @@ +clc
+clear
+//INPUT DATA
+np=1.39 //refractive index in air
+a=62 //refracting angle of prism
+//calculation
+x=1/np
+c=asind(x)//critical angle
+r=a-c
+i= np* sind(r)//snells law
+i1=asind(i)
+A=2*c//greatest prism angle allowing refraction
+//output
+printf("angle of incidence producing maximum deviation is %3.3f deg",r)
+printf(" \n greatest prism angle allowing refraction is %3.3f deg",A)
diff --git a/1991/CH5/EX5.3/3.sce b/1991/CH5/EX5.3/3.sce new file mode 100755 index 000000000..cbd8adcbb --- /dev/null +++ b/1991/CH5/EX5.3/3.sce @@ -0,0 +1,12 @@ +clc
+clear
+//input
+f=0.15 //focal length
+u=0.2 //distance of object
+//calculation
+x=(1/-f)-(1/u)//lens formula
+y=1/x
+m=y/u//linear magnification
+//output
+printf("the position of image is %3.3f m",y)
+printf("\n linear magnification is %3.3f hence image is diminished",m)
diff --git a/1991/CH5/EX5.4/4.sce b/1991/CH5/EX5.4/4.sce new file mode 100755 index 000000000..b1d48a309 --- /dev/null +++ b/1991/CH5/EX5.4/4.sce @@ -0,0 +1,12 @@ +clc
+clear
+//input
+f1=0.25 //focal length of diverging lens
+f2=0.2 //focal length of converging lens
+//calculation
+x=(1/-f1)+(1/f2)//lens formula
+y=1/x
+a=(1/y)-(1/0.15)//lens formula
+b=1/a
+//output
+printf("the position of image is %3.3f m hence the image is virtual",b)
diff --git a/1991/CH5/EX5.5/5.sce b/1991/CH5/EX5.5/5.sce new file mode 100755 index 000000000..6ac551283 --- /dev/null +++ b/1991/CH5/EX5.5/5.sce @@ -0,0 +1,16 @@ +clc
+clear
+//input
+f=0.5 //focal length
+u=0.8 //distance of object
+f1=0.2 //focal length of converging lens
+d=1 //distance behind the first lens
+//calculation
+x=(1/f)-(1/u)//lens formula
+y=1/x
+u1=-(y-d)//second lens
+a=1/f1 +(1/-u1)//lens formula
+b=1/a
+//output
+printf("the image lies %3.3f m behind second lens",b)
+printf("\n the image is %3.3f m behind first lens",b+d)
diff --git a/1991/CH5/EX5.6/6.sce b/1991/CH5/EX5.6/6.sce new file mode 100755 index 000000000..6e28ba9ad --- /dev/null +++ b/1991/CH5/EX5.6/6.sce @@ -0,0 +1,11 @@ +clc
+clear
+//input
+F=5 //power of lenses
+f1=0.45 //focal length
+//calculation
+x=F-(1/f1)//lens formula
+f2=1/x
+//output
+printf("the focal length is %3.3f m",f2)
+printf("\n the power is %3.3f dioptre",x)
|