diff options
Diffstat (limited to '944/CH7/EX7.5')
-rwxr-xr-x | 944/CH7/EX7.5/example7_5_TACC.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/944/CH7/EX7.5/example7_5_TACC.sce b/944/CH7/EX7.5/example7_5_TACC.sce new file mode 100755 index 000000000..12c06c8b1 --- /dev/null +++ b/944/CH7/EX7.5/example7_5_TACC.sce @@ -0,0 +1,15 @@ +//example 7.5
+
+clear;
+clc;
+
+//Given:
+r1=0.001;//the population of the states at a higher energy to that at a lower energy
+dE=8*10^-20;//The difference in energy[J]
+k=1.381*10^-23;//Boltzmann constant [J/K]
+
+
+//To find the Temperature at this condition
+x=k*log(r1);
+T=-dE/x;//[K]
+printf("The Temperature at this condition is %f K",T);
\ No newline at end of file |