//Chapter 13, Example 13.6 clc //Initialisation' p=1400 //power gain //Calculation pdb=10*log10(p) //power gain in dB //Results printf("Power Gain (dB) = %.1f dB",pdb)