summaryrefslogtreecommitdiff
path: root/3875/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH5/EX5.1/Ex5_1.sce')
-rw-r--r--3875/CH5/EX5.1/Ex5_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3875/CH5/EX5.1/Ex5_1.sce b/3875/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..053fc67db
--- /dev/null
+++ b/3875/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,10 @@
+clc;
+clear;
+k=2
+lambda=5*10^-5 //wavlength in cm
+theta=30 //angle in degrees
+
+//calculations
+e=(k*lambda)/sind(theta) //in cm
+mprintf("No. of lines per centimeter = %.0e",(1/e)) //The answer provided in the textbook is wrong
+