From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2795/CH3/EX3.4/Ex3_04.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2795/CH3/EX3.4/Ex3_04.sce (limited to '2795/CH3/EX3.4') 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 -- cgit