Calculates the tax based on the entered amount. The tax rate can be selected from a list.