summaryrefslogtreecommitdiff
path: root/3739/CH3/EX3.5/EX3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH3/EX3.5/EX3_5.sce')
-rw-r--r--3739/CH3/EX3.5/EX3_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3739/CH3/EX3.5/EX3_5.sce b/3739/CH3/EX3.5/EX3_5.sce
new file mode 100644
index 000000000..ace5edaab
--- /dev/null
+++ b/3739/CH3/EX3.5/EX3_5.sce
@@ -0,0 +1,13 @@
+//Chapter 3, Example 3.5, page 74
+clc
+//Initialisation
+No=1 //index of refraction
+N1=1.3*10**-7
+h=20 //height
+
+//Calculation
+wc=asin(((4*No)/((4*No)+((h**2)*N1)))) //critical angle
+
+
+//Results
+printf("Critical angle = %f",wc) //answer is not written in textbook