Pi = `100^2 /(1k)`
= `10000 /(1k)`
= 10
Po = `30^2 /9`
= `900 /9`
= 100
Ap(dB) = `10 log (100/10)`
= `10 log 10`
= 10 dB