summaryrefslogtreecommitdiff
path: root/2411/CH9/EX9.2.8/Ex9_2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2411/CH9/EX9.2.8/Ex9_2_8.sce')
-rwxr-xr-x2411/CH9/EX9.2.8/Ex9_2_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2411/CH9/EX9.2.8/Ex9_2_8.sce b/2411/CH9/EX9.2.8/Ex9_2_8.sce
new file mode 100755
index 000000000..fcd2a2912
--- /dev/null
+++ b/2411/CH9/EX9.2.8/Ex9_2_8.sce
@@ -0,0 +1,14 @@
+// Scilab Code Ex9.2.8: Page-416 (2008)
+clc; clear;
+h = 6.63e-034; // Planck's constant, Js
+h_bar = h/(2*%pi); // Reduced Planck's constant, Js
+delta_t = 1e-008; // Time during which the radiation is emitted, s
+delta_E = h_bar/delta_t; // Minimum uncertainty in energy of emitted light, J
+// As delta_E = h*delta_nu from Planck's quantum theory, solving for delta_nu
+delta_nu = delta_E/h; // Minimum uncertainty in frequency of emitted light, Hz
+printf("\nThe minimum uncertainty in energy of emitted light = %5.3e J", delta_E);
+printf("\nThe minimum uncertainty in frequency of emitted light = %4.2e Hz", delta_nu);
+
+// Result
+// The minimum uncertainty in energy of emitted ligh = 1.055e-026 J
+// The minimum uncertainty in frequency of emitted ligh = 1.59e+007 Hz \ No newline at end of file