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)