diff options
Diffstat (limited to '3411/CH2/EX2.3/Ex2_3.sce')
-rw-r--r-- | 3411/CH2/EX2.3/Ex2_3.sce | 12 |
1 files changed, 12 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)
|