blob: 437f0cc3d1231e46f9256611023cefd73b07dfb5 (
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
|
//Exa3
clc;
clear;
close;
//given data
//atomic radius
r=1.278; //in Angstrum
//atomic weight
aw=63.5;
//Avogadro's number
an=6.023*10^23;
//copper has FCC structure for which
a=(4*r)/sqrt(2);// in Angstrum
a=a*10^-10;//in m
//Mass of one atom
m=aw/an;//in gm
m=m*10^-3;//in kg
//volume of one unit cell of copper crystal,
V=a^3;//in meter cube
//Number of atoms present in one unit cell of Cu(FCC Structure),
n=4;
//Density of crystal
rho=(m*n)/V;//in kg/m^3
disp("Density of crystal is : "+string(rho)+"kg/m^3");
|