summaryrefslogtreecommitdiff
path: root/2780/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH4/EX4.2/Ex4_2.sce')
-rwxr-xr-x2780/CH4/EX4.2/Ex4_2.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/2780/CH4/EX4.2/Ex4_2.sce b/2780/CH4/EX4.2/Ex4_2.sce
new file mode 100755
index 000000000..006910bf3
--- /dev/null
+++ b/2780/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,7 @@
+clc
+//to calculate angle of refraction
+//according to brewster's law mu=tan ip
+mu=1.732 //refractive index
+ip=atand(mu) //polarising angle in degree
+r=90-ip
+disp("angle of refraction of ray is r="+string(r)+"degree")