summaryrefslogtreecommitdiff
path: root/3557/CH17/EX17.14/Ex17_14.sce
blob: 58e7f5815cc739020da17d43c8df85f978209f28 (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
30
//Example 17.14//

b=1.008;//g //atomic mass of Hydrogen
c=28.09;//g //atomic mass of Silicon
a=100;//given
e=0.2;//given
f=0.8;//given
a2=f*c //(cross multiplying)
//mprintf("a2 = %f ",a2)
a3=b*a //(cross multiplication)
//mprintf("a3 = %f ",a3)
a4=e*b //(cross multiplication)
//mprintf("a4 = %f g Si",a4)
a5=e*a3//multiplication
//mprintf("a5 = %f g Si",a5)
x=a5/(a2-a4)
mprintf("x = %f g H",x)
x1=0.889;//g H
x2=a-x1
mprintf("\nx2 = %f g Si",x2)
a7=2.3; //g cm^-3 //density of pure amporhous silicon
//the volume occupied by the silicon will be
V=x2/a7
mprintf("\nV = %f cm^3",V)
//Therefore the density of the alloy will be
p=a/V
mprintf("\np = %f g cm^-3",p)
//which is an increase of
a1=((p-a7)/(a7))*100
mprintf("\na1 = %f percent ",a1)