summaryrefslogtreecommitdiff
path: root/24/CH35
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH35
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 '24/CH35')
-rwxr-xr-x24/CH35/EX35.1/Example35_1.sce12
-rwxr-xr-x24/CH35/EX35.1/Example35_1_result.txt5
-rwxr-xr-x24/CH35/EX35.2/Example35_2.sce11
-rwxr-xr-x24/CH35/EX35.2/Example35_2_result.txt2
-rwxr-xr-x24/CH35/EX35.3/Example35_3.sce18
-rwxr-xr-x24/CH35/EX35.3/Example35_3_result.txt9
-rwxr-xr-x24/CH35/EX35.4/Example35_4.sce12
-rwxr-xr-x24/CH35/EX35.4/Example35_4_result.txt2
8 files changed, 71 insertions, 0 deletions
diff --git a/24/CH35/EX35.1/Example35_1.sce b/24/CH35/EX35.1/Example35_1.sce
new file mode 100755
index 000000000..f1e121fe7
--- /dev/null
+++ b/24/CH35/EX35.1/Example35_1.sce
@@ -0,0 +1,12 @@
+//Given that
+h = 1 //(say)
+f = 40 //in cm
+hdash = .20*h
+
+//Sample Problem 35-1a
+printf("**Sample Problem 35-1a**\n")
+printf("The image is virtual & on the opposite side of mirror because of having same orientation\n")
+
+//Sample Problem 35-1b
+printf("\n**Sample Problem 35-1b**\n")
+printf("The height of image is smaller than the object. Therefore, the mirror is concave\n") \ No newline at end of file
diff --git a/24/CH35/EX35.1/Example35_1_result.txt b/24/CH35/EX35.1/Example35_1_result.txt
new file mode 100755
index 000000000..69dd0848e
--- /dev/null
+++ b/24/CH35/EX35.1/Example35_1_result.txt
@@ -0,0 +1,5 @@
+**Sample Problem 35-1a**
+The image is virtual & on the opposite side of mirror because of having same orientation
+
+**Sample Problem 35-1b**
+The height of image is smaller than the object. Therefore, the mirror is concave \ No newline at end of file
diff --git a/24/CH35/EX35.2/Example35_2.sce b/24/CH35/EX35.2/Example35_2.sce
new file mode 100755
index 000000000..ffd06e8ed
--- /dev/null
+++ b/24/CH35/EX35.2/Example35_2.sce
@@ -0,0 +1,11 @@
+//Given that
+n1 = 1.6
+n2 = 1.00
+R = -3.0 //in mm
+i = -5.0 //in mm
+
+//Sample Problem 35-2
+printf("**Sample Problem 35-2**\n")
+//n1/d + n2/i = (n2-n1)/R
+d = n1/(- n2/i + (n2-n1)/R)
+printf("The real depth of the mosquito is %1.2fmm", d) \ No newline at end of file
diff --git a/24/CH35/EX35.2/Example35_2_result.txt b/24/CH35/EX35.2/Example35_2_result.txt
new file mode 100755
index 000000000..c7785fc41
--- /dev/null
+++ b/24/CH35/EX35.2/Example35_2_result.txt
@@ -0,0 +1,2 @@
+**Sample Problem 35-2**
+The real depth of the mosquito is 4.00mm \ No newline at end of file
diff --git a/24/CH35/EX35.3/Example35_3.sce b/24/CH35/EX35.3/Example35_3.sce
new file mode 100755
index 000000000..b3e6c516b
--- /dev/null
+++ b/24/CH35/EX35.3/Example35_3.sce
@@ -0,0 +1,18 @@
+//Given that
+Xo = -20 //in cm
+m = -0.25
+n = 1.65
+
+//Sample Problem 35-3a
+printf("**Sample Problem 35-3a**\n")
+printf("The image is real real because m<0 as well as m<1\n")
+printf("The mens is converging because magnification is negative for real image\n")
+printf("The object is outside the focal length because m<1\n")
+printf("The image is on the opposite side of the image from the lens\n")
+printf("The image is erect\n")
+
+//Sample Problem 35-3b
+printf("\n**Sample Problem 35-3b**\n")
+f = Xo*m*Xo/(Xo-m*Xo)
+R = (n-1)*2*f
+printf("The radius of curvature of the lens is %1.2fcm", f) \ No newline at end of file
diff --git a/24/CH35/EX35.3/Example35_3_result.txt b/24/CH35/EX35.3/Example35_3_result.txt
new file mode 100755
index 000000000..87d48e84e
--- /dev/null
+++ b/24/CH35/EX35.3/Example35_3_result.txt
@@ -0,0 +1,9 @@
+**Sample Problem 35-3a**
+The image is real real because m<0 as well as m<1
+The mens is converging because magnification is negative for real image
+The object is outside the focal length because m<1
+The image is on the opposite side of the image from the lens
+The image is erect
+
+**Sample Problem 35-3b**
+The radius of curvature of the lens is 4.00cm \ No newline at end of file
diff --git a/24/CH35/EX35.4/Example35_4.sce b/24/CH35/EX35.4/Example35_4.sce
new file mode 100755
index 000000000..b22203863
--- /dev/null
+++ b/24/CH35/EX35.4/Example35_4.sce
@@ -0,0 +1,12 @@
+//Given that
+L= 10 //in cm
+f1 = 24 //in cm
+f2 = 9 //in cm
+xo = -6 //in cm
+
+//Sample Problem 35-4
+printf("**Sample Problem 35-4**\n")
+xi1 = xo*f1/(xo+f1)
+xo2 = xi1 - L
+xi2 = xo2*f2/(xo2+f2)
+printf("The final image will be at a distance of %dcm from the second mirror", xi2) \ No newline at end of file
diff --git a/24/CH35/EX35.4/Example35_4_result.txt b/24/CH35/EX35.4/Example35_4_result.txt
new file mode 100755
index 000000000..91f172f9e
--- /dev/null
+++ b/24/CH35/EX35.4/Example35_4_result.txt
@@ -0,0 +1,2 @@
+**Sample Problem 35-4**
+The final image will be at a distance of 18cm from the second mirror \ No newline at end of file