summaryrefslogtreecommitdiff
path: root/3845/CH26/EX26.2/Ex26_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH26/EX26.2/Ex26_2.sce')
-rw-r--r--3845/CH26/EX26.2/Ex26_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3845/CH26/EX26.2/Ex26_2.sce b/3845/CH26/EX26.2/Ex26_2.sce
new file mode 100644
index 000000000..fe1ad75fd
--- /dev/null
+++ b/3845/CH26/EX26.2/Ex26_2.sce
@@ -0,0 +1,11 @@
+//Example 26.2
+d_i=2*10^-2;//Image distance (m)
+d_o_distant=%inf;//Object distance for distant vision (m)
+d_o_close=25*10^-2;//Object distance for close vision (m)
+P_distant=1/d_o_distant+1/d_i;//Power for distant vision (D)
+printf('Power = %0.1f D (distant vision)',P_distant)
+P_close=1/d_o_close+1/d_i;//Power for closest vision (D)
+printf('\nPower = %0.1f D (close vision)',P_close)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+