summaryrefslogtreecommitdiff
path: root/2459/CH11/EX11.8/Ex11_8.sce
blob: 93fd88c3004f01859ea6ae0f0c513766b4b5dc66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter11
//example11.8
//page209

alpha1=0.9
alpha2=0.98
alpha3=0.99

beta1=alpha1/(1-alpha1)
beta2=alpha2/(1-alpha2)
beta3=alpha3/(1-alpha3)

printf("for alpha=0.9, beta=%.1f \n",beta1)
printf("for alpha=0.98, beta=%.1f \n",beta2)
printf("for alpha=0.99, beta=%.1f \n",beta3)