summaryrefslogtreecommitdiff
path: root/3411/CH2/EX2.3
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH2/EX2.3')
-rw-r--r--3411/CH2/EX2.3/Ex2_3.sce12
-rw-r--r--3411/CH2/EX2.3/Ex2_3.txt1
2 files changed, 13 insertions, 0 deletions
diff --git a/3411/CH2/EX2.3/Ex2_3.sce b/3411/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..8f4692a40
--- /dev/null
+++ b/3411/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,12 @@
+//Example 2_3
+clc();
+clear;
+//To calculate minimum no of lines per centimeter
+lamda1=5890 //units in armstrongs
+lamda2=5896 //units in armstrongs
+dlamda=lamda2-lamda1 //units in armstrongs
+k=2
+n=lamda1/(k*dlamda)
+width=2.5 //units in cm
+nooflines=n/width
+printf("No of lines per cm=%.1f",nooflines)
diff --git a/3411/CH2/EX2.3/Ex2_3.txt b/3411/CH2/EX2.3/Ex2_3.txt
new file mode 100644
index 000000000..cd0a73a06
--- /dev/null
+++ b/3411/CH2/EX2.3/Ex2_3.txt
@@ -0,0 +1 @@
+No of lines per cm=196.3 \ No newline at end of file