Preview

Electricity Billing System

Satisfactory Essays
Open Document
Open Document
542 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Electricity Billing System
1-310-919-0950 Log In | Sign Up
StudyMode.com
Essays
Book Notes
AP Notes
More

Essays » English Composition » Inquiry
Electric Billing System
By damzee, Sep 2011 | 2 Pages (435 Words) | 546 Views |

Report |
Sign Up to access full essay

RATELESS 0.218 /* rate of charge first 200 unit */
RATEMORE 0.334 /* rate of charge following unit */
PEN 0.015 /* penalty for unpaid balance */

Inputs int unit /* unit of electricity used */ float UnpaidBal /* unpaid balance */

Outputs float Penalty /* charge of penalty */ float UseCharge /* charge for the current electricity use */ float TotalBill /* total charge */

PROGRAM ALGORITHM (FLOW OF PROGRAM)
1. Display user instructions
2. Get data: unpaid balance and electricity unit used
3. Determine electricity unit used and compute use charge
4. Determine unpaid balance and compute penalty
5. Compute total charge
6. Display the total bill amount

DESIGN OF COMPUTATION OF USE CHARGE
The data required to compute the use charge are listed. We separate the involved data categories into Input, Process and Output.

Input Data int unit /* unit of electricity used */

Process Data
RATELESS 0.218 /* rate of charge first 200 unit */
RATEMORE 0.334 /* rate of charge following unit */

Output Data float UseCharge /* charge for the current electricity use */

Algorithm for Computation of Use Charge
We know that different rate will be used if the electricity unit used is more than 200. Thus we use if else selection to design the algorithm. if unit > 200 compute use charge for more than 200 unit else compute use charge for less than 200 unit

Formula for Use Charge
UseCharge=(unit-200)*RATEMORE+200*RATELESS /* more than 200 */
UseCharge=unit*RATELESS /* less than 200 */

DESIGN OF COMPUTATION OF PENALTY
The data required to compute the penalty are listed. We separate the involved data categories into Input, Process and Output.

Input Data float UnpaidBal /* unpaid balance */

You May Also Find These Documents Helpful

  • Better Essays

    First observation was the demand curve with the current rental rate and the quantity demanded. The second observation was the change in the quantity demanded and the vacancy rate when there is a particular rental rate. The decision to be made was the monthly rental rate for two-bedroom rental apartments on temporary leases. The Property Manager needed to bring the vacancy rate from 28 percent to 15 percent and to maximize the revenue. To start, the vacancy rate was at 40 percent, revenue was 1.56 (in millions), surplus 800, quantity demanded 1,200 and rental rate $1,300. The vacancy rate down to 15 percent, the following changed: revenue was 1.79 (in millions), surplus 300, quantity demanded 1,700 and rental rate $1,050. Although the appropriate rental rate was selected to reduce the vacancy rate, the revenue was not maximized. In the end the revenue could have been increased by lowering both the rental and the vacancy…

    • 1030 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Assignment Ch05

    • 2745 Words
    • 25 Pages

    Determine the capacity cost rate of the resource by dividing its cost by the practical capacity…

    • 2745 Words
    • 25 Pages
    Good Essays
  • Satisfactory Essays

    Cost Acc

    • 527 Words
    • 3 Pages

    (3) Compute a cost rate per cost driver unit or transaction. Each activity could have…

    • 527 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Luzius, M., Dr. (2003). Unjit 3 calculating cost variables. American Intercontinental University Power Point Presentation…

    • 449 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Tries to identify all the costs from program initiation through disposal of the system from…

    • 1536 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    Case Analysis Guide

    • 257 Words
    • 2 Pages

    Consequence impact has been derived from evaluating impact of each cost element on total cost.…

    • 257 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Billing Process

    • 719 Words
    • 2 Pages

    The Medical Billing Process is composed of ten different steps, each as equally important as the next. These ten steps are pre-register patients, establish financial responsibility, check in patients, review coding compliance, review billing compliance, check out patients, prepare and transmit claims, monitor payer adjudication, generate patient statements, and follow up payments and collections. When you bill a patient you want to be sure that you are not only doing it correctly but that you are charging or sending the bill to the right person whether it be the patient or the patients’ insurance company. With the ten steps to the medical billing process you want to make sure that you are doing it in the correct order. First you want to make sure that you are pre-registering the correct patient and that you are inputting their information as well as their insurance information in the system correctly. After this has been completed you are now able to schedule appointments for this patient. The next step in the process is to establish financial responsibility (who is paying for the medical bills), whether it be the patient or the insurance company. If the insurance company is assuming financial responsibility you want clarify what insurance plan the patient is falling under as well as what procedures are not covered and what financial responsibilities the patient may have (copayment). After all of this is complete, then comes checking in the patient. When checking in new patients, they need to fill out a detailed medical information sheet that will be kept on file and if they are not a new patient all they will do is review this sheet to see if anything has changed or needs to be updated. You also what to obtain a copy of their insurance card, both front and back and keep this on record as well. All medical diagnosis and procedures are given a medical code, these codes are extremely important when it comes to step four of the process, review coding compliance.…

    • 719 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Ratio of cost to charges method’s use “as a cost driver for allocating costs from…

    • 817 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Sportswear Case

    • 365 Words
    • 2 Pages

    Capacity is constrained at 420 units/day at operations 4 and 6 and is less than 600 units/day at operation 1.…

    • 365 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Led Lights

    • 716 Words
    • 3 Pages

    [ 2 ]. A blended electricity rate was used. This averages time-of-use, demand charges, and fees.…

    • 716 Words
    • 3 Pages
    Better Essays
  • Powerful Essays

    Blake Electronics

    • 2164 Words
    • 9 Pages

    This equation can now be used to compute the total cost of producing various levels of output.…

    • 2164 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    penalty punishes them not for what they may or may not do in the future but what…

    • 622 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    ABSTRACT: A PC based electricity power management system has been designed and constructed. The designed PC based electricity power management system were achieved by the use of a timer software which acts as a computer User Interface control and a hardware which acts as a computer interface with the help of a parallel port.…

    • 1834 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    People and Technology

    • 878 Words
    • 4 Pages

    * Using ImpactCS to grid understand Therac-25 [on-line]. Available from: http://computingcases.org/case_materials/therac/analysis/Intro_to_Analysis.html (Accessed date: January 21, 2011)…

    • 878 Words
    • 4 Pages
    Good Essays
  • Good Essays

    2011 8th International Conference on the European Energy Market (EEM) • 25-27 May 2011 • Zagreb, Croatia…

    • 2361 Words
    • 10 Pages
    Good Essays