summaryrefslogtreecommitdiff
path: root/3655/CH3/EX3.3/Ex3_3.sce
blob: bc17d25fa03e4dc09336df42f8fefe2e32dc0454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Example 3.3
// Computation for numerical value of n and EF//
// Page no.71

clc;
clear;
close;

//Given data ;
A_num=6.02*10^23;//Avogadro number
atom_wt=184;//Atomic weight
sg=18.8;//specific gravity of tungstan
n_elect=2;//number of electrons
n_atom=1;//number of atom per molecule


//Calculation for numerical value of n//
n=(A_num*(1/atom_wt)*sg*n_elect*n_atom)*10^6;

//Calculation for numerical value of EF//
EF=3.64*10^-19*n^(2/3);


//Displaying the result in command window
printf('\n Numerical value of n = %0.2f x 10^29 electron/m3',n*10^-29);
printf('\n \n Numerical value of EF = %0.2f eV',EF);


//Answers are varying due to round off error//