summaryrefslogtreecommitdiff
path: root/3753/CH1/EX1.10/Ex1_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH1/EX1.10/Ex1_10.sce')
-rw-r--r--3753/CH1/EX1.10/Ex1_10.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3753/CH1/EX1.10/Ex1_10.sce b/3753/CH1/EX1.10/Ex1_10.sce
new file mode 100644
index 000000000..53ac2e73e
--- /dev/null
+++ b/3753/CH1/EX1.10/Ex1_10.sce
@@ -0,0 +1,16 @@
+//Example number 1.10, Page number 1.38
+
+clc;clear;close
+
+
+//Variable declaration
+lamda=5893; // in micron
+n=3 // unitless
+d_lamda=6 // in micron
+
+//Calculation
+N=(lamda)/(n*d_lamda) // number of rulings
+
+//Result
+printf("N = %0.1f",N)
+printf("\nThe number of rulings needed is 328. This is the minimum requirement.")