diff options
Diffstat (limited to '3480/CH5/EX5.1/Ex5_1.sce')
-rw-r--r-- | 3480/CH5/EX5.1/Ex5_1.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3480/CH5/EX5.1/Ex5_1.sce b/3480/CH5/EX5.1/Ex5_1.sce new file mode 100644 index 000000000..50119c7c7 --- /dev/null +++ b/3480/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,9 @@ +//Example 5.1, page no 101 +clc +n_air=1//refractive index of air +n_glass=1.5//refractive index of glass +n_water=1.33//refractive index of water +s1=n_glass/(((n_glass-n_air)/2)-(n_air/5)) +s2=n_water/(((n_water-n_glass)/-2)-(n_glass/-28)) +printf("\n The value of s1 is +%f cm",s1) +printf("\n The value of s2 is +%f cm",s2)
\ No newline at end of file |