summaryrefslogtreecommitdiff
path: root/3769/CH16/EX16.8/Ex16_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH16/EX16.8/Ex16_8.sce')
-rw-r--r--3769/CH16/EX16.8/Ex16_8.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3769/CH16/EX16.8/Ex16_8.sce b/3769/CH16/EX16.8/Ex16_8.sce
new file mode 100644
index 000000000..6e3562bc8
--- /dev/null
+++ b/3769/CH16/EX16.8/Ex16_8.sce
@@ -0,0 +1,15 @@
+clear
+//Given
+R=30 //ohm
+u=-10.0
+h1=5
+
+//Calculation
+f=R/2.0
+v=1/((1/f)-(1/u))
+h2=(-v*h1)/u
+
+//Result
+printf("\n Position of the image is %0.3f cm", v)
+printf("\n Size of the image is %0.3f cm",h2)
+printf("\n The image is virtual")