blob: bfa2fac862c1a5e6bad55bd4161eb6576798917b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
r= -3.19
logi= -2.6
logv= 0.302
//CALCULATIONS
k= 10^r
n= (logi-r)/logv
//RESULTS
printf ('value of k = %.6f ',k)
printf ('\n value of n = %.3f ',n)
|