summaryrefslogtreecommitdiff
path: root/24/CH34/EX34.5
diff options
context:
space:
mode:
Diffstat (limited to '24/CH34/EX34.5')
-rwxr-xr-x24/CH34/EX34.5/Example34_5.sce10
-rwxr-xr-x24/CH34/EX34.5/Example34_5_result.txt2
2 files changed, 12 insertions, 0 deletions
diff --git a/24/CH34/EX34.5/Example34_5.sce b/24/CH34/EX34.5/Example34_5.sce
new file mode 100755
index 000000000..bcdb94d0c
--- /dev/null
+++ b/24/CH34/EX34.5/Example34_5.sce
@@ -0,0 +1,10 @@
+exec('degree_rad.sci', -1)
+
+//Given that
+e = 45 //in degrees
+
+//Sample Problem 34-5
+printf("**Sample Problem 34-5**\n")
+//For extrem case
+n = 1/sin(dtor(e))
+printf("The index of refraction should be at least %1.1f", n) \ No newline at end of file
diff --git a/24/CH34/EX34.5/Example34_5_result.txt b/24/CH34/EX34.5/Example34_5_result.txt
new file mode 100755
index 000000000..b3fc70769
--- /dev/null
+++ b/24/CH34/EX34.5/Example34_5_result.txt
@@ -0,0 +1,2 @@
+**Sample Problem 34-5**
+The index of refraction should be at least 1.4 \ No newline at end of file