summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.1/Ex17_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.1/Ex17_1.sce')
-rw-r--r--3769/CH17/EX17.1/Ex17_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH17/EX17.1/Ex17_1.sce b/3769/CH17/EX17.1/Ex17_1.sce
new file mode 100644
index 000000000..d47a674df
--- /dev/null
+++ b/3769/CH17/EX17.1/Ex17_1.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+u1=1.50
+u2=1.33
+
+//Calculation
+//
+sinr=u1*sin(50*3.14/180.0)/u2
+a=asin(sinr)*180/3.14
+
+//Result
+printf("\n Angle of refraction is %0.1f degree",a)