clc; Pout=2; Pin=0.0001; ApdB=10*log10(Pout/Pin); disp('dB',ApdB,"ApdB=")//The answers vary due to round off error