summaryrefslogtreecommitdiff
path: root/1736/CH4/EX4.16/Ch04Ex16.sce
blob: 82be23e1987115c91b3c03d29895d131ea0fbcac (plain)
1
2
3
4
5
6
7
8
9
10
// Scilab Code Ex4.16: Page-131 (2006)
clc; clear;
e = 1.6e-019;   // Electronic charge, C
n = 24.2e+028;    // No. of electrons per metre cube, per metre cube
R_H = -1/(n*e);  // Hall coeffcient of Be, metre cube per coulomb
printf("\nThe Hall coefficient of beryllium = %4.2e metre cube per coulomb", R_H);

// Result 
// The Hall coefficient of beryllium = -2.58e-011 metre cube per coulomb