summaryrefslogtreecommitdiff
path: root/3769/CH18/EX18.3
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH18/EX18.3')
-rw-r--r--3769/CH18/EX18.3/Ex18_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH18/EX18.3/Ex18_3.sce b/3769/CH18/EX18.3/Ex18_3.sce
new file mode 100644
index 000000000..0060cc81c
--- /dev/null
+++ b/3769/CH18/EX18.3/Ex18_3.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+i1=48 //Degree
+A=60 //Degree
+
+//Calculation
+//
+r=A/2.0
+u=sin(i1*3.14/180.0)/sin(r*3.14/180.0)
+
+//Result
+printf("\n Refractive index of the material is %0.2f ",u)