Problem 60812. Estimating Monthly Electricity Cost for a Household Appliance
You recently bought an electric kettle for your kitchen, and you want to estimate how much it costs to run every month. The kettle operates at 230V and consumes 2000W (or 2kW) when in use. You typically use it for 30 minutes per day.
Electricity companies charge based on energy consumption in kilowatt-hours (kWh). The energy consumption is calculated as:
E=P × t
Where:
- E is the energy consumed in kilowatt-hours (kWh)
- P is the power in kilowatts (kW)
- t is the usage time in hours
The monthly electricity cost is then calculated as:
Cost=E × Rate
Where:
- Rate is tthe cost per kWh in Indian Rupees (INR).
Write a function that takes power rating (W), daily usage time (minutes), and electricity rate (cost per kWh in INR) and returns the estimated monthly cost of running the appliance.
Solution Stats
Problem Comments
Solution Comments
Show commentsGroup

Project Euler II
- 12 Problems
- 51 Finishers
- Find the longest sequence of 1's in a binary sequence.
- Convert given decimal number to binary number.
- Find out sum and carry of Binary adder
- Binary numbers
- Given an unsigned integer x, find the largest y by rearranging the bits in x
- Bit Reversal
- Relative ratio of "1" in binary number
- Binary code (array)
- Converting binary to decimals
- There are 10 types of people in the world
Problem Recent Solvers23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!