summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.34/Ex5_34.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.34/Ex5_34.sce')
-rw-r--r--3537/CH5/EX5.34/Ex5_34.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3537/CH5/EX5.34/Ex5_34.sce b/3537/CH5/EX5.34/Ex5_34.sce
new file mode 100644
index 000000000..6233ad166
--- /dev/null
+++ b/3537/CH5/EX5.34/Ex5_34.sce
@@ -0,0 +1,9 @@
+//Example 5_34
+clc();
+clear;
+//To find the angle at which it occurs
+n=3
+lemda=0.79*10^-10 //units in meters
+d=3.04*10^-10 //units in meters
+theta=asin((n*lemda)/(2*d))*180/%pi
+printf("The angle at which it occurs is %.3f degrees",theta)