diff options
Diffstat (limited to '3753/CH2/EX2.6/Ex2_6.sce')
-rw-r--r-- | 3753/CH2/EX2.6/Ex2_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3753/CH2/EX2.6/Ex2_6.sce b/3753/CH2/EX2.6/Ex2_6.sce new file mode 100644 index 000000000..dee5aa0ca --- /dev/null +++ b/3753/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,13 @@ +//Example number 2.6, Page number 2.34ΒΆ + + +clc;clear;close + +// Variable declaration +theta=60*(%pi/180) // When the angle of refraction is 30degrees, angle of reflection will be 60degrees + +// Calculation +mu=tan(theta) // unitless + +// Result +printf("Refractive index of medium=%0.3f",mu) |