summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.25/Ex1_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.25/Ex1_25.sce')
-rw-r--r--3537/CH1/EX1.25/Ex1_25.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3537/CH1/EX1.25/Ex1_25.sce b/3537/CH1/EX1.25/Ex1_25.sce
new file mode 100644
index 000000000..a055c32e0
--- /dev/null
+++ b/3537/CH1/EX1.25/Ex1_25.sce
@@ -0,0 +1,8 @@
+//Example 1_25
+clc();
+clear;
+//To find the value of the slit width
+lemda=6500 //units in angstroam
+theta=30 //units in degrees
+a=lemda/sin(theta*%pi/180)
+printf("The value of the slit is %.0f angstroam",a)