summaryrefslogtreecommitdiff
path: root/3480/CH4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3480/CH4
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 '3480/CH4')
-rw-r--r--3480/CH4/EX4.1/Ex4_1.sce7
-rw-r--r--3480/CH4/EX4.2/Ex4_2.sce7
-rw-r--r--3480/CH4/EX4.3/Ex4_3.sce6
-rw-r--r--3480/CH4/EX4.4/Ex4_4.sce7
4 files changed, 27 insertions, 0 deletions
diff --git a/3480/CH4/EX4.1/Ex4_1.sce b/3480/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..01df4e794
--- /dev/null
+++ b/3480/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,7 @@
+//example 4.1, page 86
+clc
+s=6//in cm
+f=10//in cm
+s1=(s*f)/(s-f)
+m=s1/s
+printf("\n The magnification obtained is %fX",m) \ No newline at end of file
diff --git a/3480/CH4/EX4.2/Ex4_2.sce b/3480/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..e4af8e0a4
--- /dev/null
+++ b/3480/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,7 @@
+//example 4.2, page 86
+clc
+s=12//in cm
+f=-6//in cm
+s1=(s*f)/(s-f)
+m=s1/s
+printf("\n The magnification obtained is %fX",m) \ No newline at end of file
diff --git a/3480/CH4/EX4.3/Ex4_3.sce b/3480/CH4/EX4.3/Ex4_3.sce
new file mode 100644
index 000000000..3dccea4b6
--- /dev/null
+++ b/3480/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,6 @@
+//Example 4.3, page 89
+clc
+n=1.520
+f=25//in cm
+r2=-(f*(n-1))
+printf("\n The radius of curvature is %f cm",r2) \ No newline at end of file
diff --git a/3480/CH4/EX4.4/Ex4_4.sce b/3480/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..9c070b814
--- /dev/null
+++ b/3480/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,7 @@
+//example 4.4, page 92
+clc
+n=1.6
+r1=.080//in cm
+r2=-0.080
+P=(n-1)*((1/r1)-(1/r2))
+printf("\n The power is %f D",P) \ No newline at end of file