You are on page 1of 1

EEEB114 Mini Project

Section 3

1. Work in a group of 4 students.


2. You need to apply knowledge on functions AND array/string in this project.
3. Due date is 8th September 2015.

As a TNB Engineer, you are required to write a program to help users estimate their monthly bill for
basic appliances. At the end of the program, the estimated bill will be shown.

Assumptions:

Power consumptions:

No Item Power consumption Daily Usage (h)


(W)
1 Lighting 14 each Ask user number and usage
2 Fan 82 Ask user
3 Refrigerator 80 24 (never switch off)
4 Water heater 3600 Ask user

Other assumptions:

- 30 days in a month
- Tariff:
o First 200 kWh = RM 0.218/kWh
o After 200 kWh = RM 0.334/kWh.
o Calculation example assuming only fridge:
Usage = 80W(24h30) = 57600Wh = 57.6 kWh(less than 200 kWh)
Bill = 57.6 kWh RM0.218/kWh = RM 12.56

Deliverables:

1. A short report including


a. Cover page
b. short introduction
c. flowchart/pseudocode of program
d. result (example of output)
e. short discussion
f. conclusion
g. appendix (the full code)
2. Short presentation of your program. No power point etc, just show your program in action.

You might also like