diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /944/CH7/EX7.5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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 |