//chapter 14 //example 14.1 //page 301 Av=20*log10(30) Pv=10*log10(100) printf("voltage gain = %.3f db \n",Av) printf("power gain = %.3f db \n",Pv)