summaryrefslogtreecommitdiff
path: root/1736/CH4/EX4.12/Ch04Ex12.sce
blob: 39c2e84ba130bfd0ed8c075725d03f986ad9c12d (plain)
1
2
3
4
5
6
7
8
9
10
// Scilab Code Ex4.12: Page-125 (2006)
clc; clear;
k = 1.38e-023;  // Boltzmann constant, J/mol/K
e = 1.6e-019;   // Charge on an electron, C
L = %pi^2/3*(k/e)^2;    // Lorentz number, watt-ohm/degree-square
printf("\nThe Lorentz number = %4.2e watt-ohm/degree-square", L);

// Result 
// The Lorentz number = 2.45e-008 watt-ohm/degree-square