summaryrefslogtreecommitdiff
path: root/1652/CH19/EX19.6/19_6.sce
blob: 0ed4f4b00315a2b6717581bd0667036d872d9f0b (plain)
1
2
3
4
5
6
7
8
9
10
clc
//Initialization of variables
D2=0.249
D1=0.172
a2=0.00752
a1=0.00527
//calculations
m=(log(D2) -log(D1))/(log(a2) - log(a1))
//results
printf("m = %.2f ",m)