ERP and EIRP Calculations

ERP, effective radiated power, and EIRP, effective isotopic radiated power can be calculated from P, power measured in watts, and A, the antenna db gain. This routine can also calculate either P or A if ERP is known and either P to calculate A or A to calculate P is known.