summaryrefslogtreecommitdiff
path: root/3769/CH16/EX16.2
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH16/EX16.2')
-rw-r--r--3769/CH16/EX16.2/Ex16_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3769/CH16/EX16.2/Ex16_2.sce b/3769/CH16/EX16.2/Ex16_2.sce
new file mode 100644
index 000000000..827c60f0b
--- /dev/null
+++ b/3769/CH16/EX16.2/Ex16_2.sce
@@ -0,0 +1,15 @@
+clear
+//Given
+u=-15.0 //cm
+f=-10 //cm
+o=2.0 //cm
+
+//Calculation
+v=1/((1.0/f)-(1.0/u))
+m=v/u
+I=-m*o
+
+//Result
+printf("\n Position of the image is %0.3f cm", v)
+printf("\n Size of the image is %0.3f cm",I)
+printf("\n Nature of the image isreal and inverted ")