diff options
Diffstat (limited to '3523/CH3/EX3.7.4/Ex3_4.sce')
-rw-r--r-- | 3523/CH3/EX3.7.4/Ex3_4.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3523/CH3/EX3.7.4/Ex3_4.sce b/3523/CH3/EX3.7.4/Ex3_4.sce new file mode 100644 index 000000000..0e20dd028 --- /dev/null +++ b/3523/CH3/EX3.7.4/Ex3_4.sce @@ -0,0 +1,10 @@ +// Example 4// Ch 3
+clc;
+clear;
+close;
+// given data
+v = 1.6*10^-19; // avg kinetic energy in j
+k = 1.38*10^-23 //boltzmann constant in J/K
+T = (2*v)/(3*k);
+printf("temperature %e K",T)
+
|