summaryrefslogtreecommitdiff
path: root/3850/CH46/EX46.7/Ex46_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH46/EX46.7/Ex46_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3850/CH46/EX46.7/Ex46_7.sce')
-rw-r--r--3850/CH46/EX46.7/Ex46_7.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3850/CH46/EX46.7/Ex46_7.sce b/3850/CH46/EX46.7/Ex46_7.sce
new file mode 100644
index 000000000..271556adb
--- /dev/null
+++ b/3850/CH46/EX46.7/Ex46_7.sce
@@ -0,0 +1,23 @@
+
+//To Calculate the Temperature of Deutrons for a specific Average Kinetic Energy
+//Example 46.7
+
+clear;
+
+clc;
+
+e=1.6*10^-19;//Charge on an electron in Coloumbs
+
+E=9*10^9;//Value of Constant (1/(4*%pi*e0)) in N-m^2/C^2
+
+d=2*10^-15;//Closest Seperation between 2 deutrons in metres
+
+K=e^2*E/(2*d);//Initial Kinetic Energy of each deuteron
+
+printf("Kinetic Energy of each deuteron so that the closest seprations between them becomes 2 fm = %.1f*10^-14 J",K*10^14);
+
+k=1.38*10^-23;//Boltzmann Constant
+
+T=K/(k*1.5);//Temperature needed for the deutrons to have the Average Kinetic Energy
+
+printf("\n Temperature needed for the deutrons to have the Average Kinetic Energy = %.1f*10^9 K",T*10^-9);