summaryrefslogtreecommitdiff
path: root/2795/CH3/EX3.4/Ex3_04.sce
diff options
context:
space:
mode:
Diffstat (limited to '2795/CH3/EX3.4/Ex3_04.sce')
-rwxr-xr-x2795/CH3/EX3.4/Ex3_04.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2795/CH3/EX3.4/Ex3_04.sce b/2795/CH3/EX3.4/Ex3_04.sce
new file mode 100755
index 000000000..8aae3e4b1
--- /dev/null
+++ b/2795/CH3/EX3.4/Ex3_04.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex3.4: Page-98 (2013)
+clc; clear
+T = 1600 + 273; // Temperature of the furnace, K
+b = 2.898e-003; // Wein's constant, m-K
+lambda_max = ceil(b/(T*1e-009)); // Maximum wavelength from Wein's Displacement Law, nm
+printf("\nThe maximum wavelength emitted from the heated furnace = %4d nm", lambda_max);
+printf("\nThis wavelength falls in the IR-region.");
+
+// Result
+// The maximum wavelength emitted from the heated furnace = 1548 nm
+// This wavelength falls in the IR-region. \ No newline at end of file