clear //Given K=5 l=0.2 c=10**-9 //F b=15.4 a=15 pd=5000 //V //Calculation // C=(K*l*c)/(41.1*log10(b/a)) //Result printf("\n (i) The capacitance of cylindrical capacitor is %0.1f *10**-9 F",C*10**9) printf("\n (ii) The potential of the inner cylinder is equal to p.d. between two cylinders i.e potentila of inner cylinder is %0.3f V",pd)