summaryrefslogtreecommitdiff
path: root/3537/CH4/EX4.5/Ex4_5.sce
blob: 4dc706bfb71395d26fe25282bc486897064cc548 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 4_5
clc();
clear;
//To calculate the density
n=8
a=5.6*10^-10                        //units in meters
M=710.59                           //units in a.m.u
N=6.02*10^26                      //units in kg/mol
Density=(n*M)/(a^3*N)
printf("Density is %.0f kg/m^3",Density)