Compute electricity cost from power rating, hours of use and the unit tariff, including daily, monthly and yearly totals.
輸入功率 P(瓦)、用電時長 h(小時)與電價,求電費。