summaryrefslogtreecommitdiff
path: root/1586/CH4/EX4.10/EXP4_10.sce
blob: d404b1121c02bbc82bf319f8654a00885fc81d80 (plain)
1
2
3
4
5
6
7
clc;funcprot(0);//EXAMPLE 4.10
// Initialisation of Variables
g=16;.......// No. of grains per square inch in a photomicrograph
M=250;..........//Magnification in a photomicrograph
N=(M/g)*100;........//The number of grains per square   inch
n=(log10(100)/log10(2))+1;........//the ASTM grain size number
disp(n,"the ASTM grain size number:")