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 /24/CH44/EX44.4 | |
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 '24/CH44/EX44.4')
-rwxr-xr-x | 24/CH44/EX44.4/Example44_4.sce | 18 | ||||
-rwxr-xr-x | 24/CH44/EX44.4/Example44_4_result.txt | 5 |
2 files changed, 23 insertions, 0 deletions
diff --git a/24/CH44/EX44.4/Example44_4.sce b/24/CH44/EX44.4/Example44_4.sce new file mode 100755 index 000000000..64c598bb1 --- /dev/null +++ b/24/CH44/EX44.4/Example44_4.sce @@ -0,0 +1,18 @@ +//Given that
+R = 10^-15 //in meter
+e = 1.6*10^-19 //in coloumb
+q1 = e
+k = 9*10^9 //in SI unit
+B = 1.38*10^-23 //in J/K
+
+txt = mopen('Example44_4_result.txt','wt')
+//Sample Problem 44-4a
+mfprintf(txt, '**Sample Problem 44-4a**\n')
+K = k*q1^2/(2*R)/2
+mfprintf(txt, 'The initial kinetic energy is equal to %dKev\n', K/e/10^3)
+
+//Sample Problem 44-4b
+mfprintf(txt, '\n**Sample Problem 44-4b**\n')
+T = 2*K/(3*B) //B is Boltzman constant
+mfprintf(txt, 'The temprature required to achieve that energy equal to %eK', T)
+mclose(txt)
\ No newline at end of file diff --git a/24/CH44/EX44.4/Example44_4_result.txt b/24/CH44/EX44.4/Example44_4_result.txt new file mode 100755 index 000000000..55ef719c8 --- /dev/null +++ b/24/CH44/EX44.4/Example44_4_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 44-4a**
+The initial kinetic energy is equal to 360Kev
+
+**Sample Problem 44-4b**
+The temprature required to achieve that energy equal to 2.782609e+009K
\ No newline at end of file |