diff options
Diffstat (limited to '3480/CH6/EX6.3/Ex6_3.sce')
-rw-r--r-- | 3480/CH6/EX6.3/Ex6_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3480/CH6/EX6.3/Ex6_3.sce b/3480/CH6/EX6.3/Ex6_3.sce new file mode 100644 index 000000000..8284709c8 --- /dev/null +++ b/3480/CH6/EX6.3/Ex6_3.sce @@ -0,0 +1,16 @@ +//Example 6.3, page 129 +clc +n1=1.50 +r1=.5//in m +r2=-.5//in m +d=.1//in cm +r=-0.5//radius in cm +p1=(n1-1)*((1/r1)-(1/r2)) +p2=-2*(1/r2) +c=d/1 +p=(1-(c*2))*(8-.8) +f=1/p +H1H=(c)/(1-(c*2)) +printf("The power is %f D", p) +printf("\nThe focal length f is %f m",f) +printf("\nThe principal point is %f m",H1H)
\ No newline at end of file |