summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.1/22_1.sce
blob: 31afab4f10c465e9668fd115450b7ded08261eb9 (plain)
1
2
3
4
5
6
//ques-22.1
//Calculating volume of a cubic unit cell
clc
a=0.3;//edge length (in nm)
V=a^3;//volume
printf("The volume of the unit cell is %.0f*10^-30 m^3.",V*1000);