diff options
Diffstat (limited to '3537/CH6/EX6.1/Ex6_1.sce')
-rw-r--r-- | 3537/CH6/EX6.1/Ex6_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH6/EX6.1/Ex6_1.sce b/3537/CH6/EX6.1/Ex6_1.sce new file mode 100644 index 000000000..ae0d79777 --- /dev/null +++ b/3537/CH6/EX6.1/Ex6_1.sce @@ -0,0 +1,12 @@ +//Example 6_1
+clc();
+clear;
+//To calculate the relative population
+h=6.626*10^-34
+v=4.32*10^14
+kb=1.38*10^-23
+t=300
+k=(h*v)/(kb*t)
+n1_n2=%e^k
+printf("Relative population N1/N2=")
+disp(n1_n2)
|