diff options
Diffstat (limited to '3537/CH2/EX2.4')
-rw-r--r-- | 3537/CH2/EX2.4/Ex2_4.sce | 14 | ||||
-rw-r--r-- | 3537/CH2/EX2.4/Ex2_4.txt | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/3537/CH2/EX2.4/Ex2_4.sce b/3537/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..52357fde9 --- /dev/null +++ b/3537/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,14 @@ +//Example 2_4
+clc();
+clear;
+//To calculate the total number of lines for the first order
+lemda=5890 //units in angstrom
+lemda=5890*10^-8 //units in centimeters
+dlemda=6*10^-8 //units in centimeters
+k=1
+N=lemda/(k*dlemda)
+printf("Total no. of lines for the first order is %.0f",N)
+//To calculate the total number of lines for the second order
+k=2
+N=lemda/(k*dlemda)
+printf("\nTotal no. of lines for the second order is %.0f",N)
diff --git a/3537/CH2/EX2.4/Ex2_4.txt b/3537/CH2/EX2.4/Ex2_4.txt new file mode 100644 index 000000000..d71a9bf6c --- /dev/null +++ b/3537/CH2/EX2.4/Ex2_4.txt @@ -0,0 +1,3 @@ +Total no. of lines for the first order is 982
+
+Total no. of lines for the second order is 491
\ No newline at end of file |