summaryrefslogtreecommitdiff
path: root/3769/CH18/EX18.2/Ex18_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH18/EX18.2/Ex18_2.sce')
-rw-r--r--3769/CH18/EX18.2/Ex18_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3769/CH18/EX18.2/Ex18_2.sce b/3769/CH18/EX18.2/Ex18_2.sce
new file mode 100644
index 000000000..72ae7d889
--- /dev/null
+++ b/3769/CH18/EX18.2/Ex18_2.sce
@@ -0,0 +1,14 @@
+clear
+//Given
+a=51 //Degree
+A=60 //Degree
+
+//Calculation
+//
+b=(A+a)/2.0
+c=A/2.0
+u=(sin(b*3.14/180.0))/(sin(c*3.14/180.0))
+
+//Result
+printf("\n (i) The refracting angle of the prism is %0.3f Degree", A)
+printf("\n (ii) The refractive index of the material is %0.4f ",u)