summaryrefslogtreecommitdiff
path: root/3756/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3756/CH3/EX3.4/Ex3_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3756/CH3/EX3.4/Ex3_4.sce b/3756/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..480d09cf5
--- /dev/null
+++ b/3756/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,14 @@
+clc
+//
+//
+//
+
+//Variable declaration
+muwater=0.8660 //Refractive index of water
+
+//Calculations
+ip=(180/%pi)*(atan(muwater))
+r=90-ip
+
+//Result
+printf("\n The Angle of Refraction is %2.2f Degrees",r)