diff options
Diffstat (limited to '2855/CH1/EX1.3/Ex1_3.sce')
-rw-r--r-- | 2855/CH1/EX1.3/Ex1_3.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2855/CH1/EX1.3/Ex1_3.sce b/2855/CH1/EX1.3/Ex1_3.sce new file mode 100644 index 000000000..f38bc4bcc --- /dev/null +++ b/2855/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,19 @@ +
+
+
+
+
+//given
+//page no 5
+clc;
+clear;
+n1=1; //refractive index of air
+n2=1.56; //refractive index of medium
+w1=60; //in deg C
+//using snell's law
+a= n1*sind(w1)/n2; //a=sin(w1)
+w2=asind(a); //in degree
+printf("Angle of refraction is %0.2f degree\n ",w2);
+B=w1-w2; //in degree
+printf("Angle of deviation is %0.1f degree\n ",B)
+// The answer doesn't match because of priting errorsin calculation as sin(608)
|