Decibels from Voltage or Power Ratios

The routine fist asks for the type of calculation either “Voltage” or “Power”. The routine then asks for the two values of the ratio calculation desired. Default values are provided. It then calculates the decibels of the particular ratio.