summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.14/Ex17_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.14/Ex17_14.sce')
-rw-r--r--3769/CH17/EX17.14/Ex17_14.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH17/EX17.14/Ex17_14.sce b/3769/CH17/EX17.14/Ex17_14.sce
new file mode 100644
index 000000000..9e8f4848d
--- /dev/null
+++ b/3769/CH17/EX17.14/Ex17_14.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+u=-9.0 //cm
+y=1
+y1=1.5
+R=-15.0 //cm
+
+//Calculation
+v=1/(((y-y1)/R)-(y1/-u))
+
+//Result
+printf("\n The value of distance is %0.3f cm",v)