Where is the light bill? It is a Piecewise Function!



Objectives

Students will:
(1.) Discuss piecewise functions.
(2.) Discuss real-world applications of piecewise-functions.
(3.) Solve problems involving the application of piecewise functions.
(4.) Meet one of the learning objectives of the VCCS (Virginia Community College System) standards for:
MTH 161: PreCalculus I
(Presents topics in power, polynomial, rational, exponential, and logarithmic functions, and systems of equations and inequalities.).

MTH 167: PreCalculus with Trigonometry
(Presents topics in power, polynomial, rational, exponential, and logarithmic functions, systems of equations, trigonometry, and trigonometric applications, including Law of Sines and Cosines, and an introduction to conics.).

(5.) Meet the QM (Quality Matters) and USDOE (United States Department of Education) requirements for distance education as regards the provision of RSI (Regular and Substantive Interaction).
Federal Register: Distance Education and Innovation
St. John's University: New Federal Requirements for Distance Education: Regular and Substantive Interaction (RSI)
Student – Content Interaction: Very high
Student – Student Interaction: Flexible
Student – Faculty Interaction: High

Residential Service Rates by Georgia Power; State of Georgia, USA

As of the 30th day of December, 2018; the power rates for the Residential Service during the Summer Period (June - September) by Georgia Power is found in the Georgia Power Bill Calculator of the Georgia Public Service Commission.
The information is here
It is great to know that the Georgia Public Service Commission developed a Power Bill calculator.
We shall check our work with their calculator.
And of course...we shall also check our work with my calculator.

                The information is written here for you:
                Basic Service:          $10.00 
                Tier                    Usage                   Cost per KWh
                1st tier                up to 650KWh            $0.056582
                2nd tier                next 350KWh             $0.093983
                3rd tier                over 1000KWh            $0.097273 
            

Calculate the power costs for the following consumption of power. (1.) $0$ KWh
(2.) $300$ KWh
(3.) $700$ KWh
(4.) $1000$ KWh
(5.) $1200$ KWh

Solution: $1st$ Method: Manual/Arithmetic Method
This application has three pieces.
The basic service fee is not a piece. It must be paid whether one consumed any power or not.
Let $p$ = power (in KWh)
Let $r$ = cost (in dollars per KWh)
(1.) $0$ KWh falls in the first piece.
Basic service fee = $$10.00$
cost for $0$ KWh @ $$0.056582$ per KWh = $0 * 0.056582 = 0$
$10.00 + 0.00 = 10.00$
cost for $0$ KWh = $$10.00$

(2.) $300$ KWh falls in the first piece.
Basic service fee = $$10.00$
cost for $300$ KWh @ $$0.056582$ per KWh = $300 * 0.056582 = 16.9746$
$10.00 + 16.9746 = 26.9746$
cost for $300$ KWh = $$26.97$

(3.) $700$ KWh falls in the second piece.
Basic service fee = $$10.00$
Before we use the second piece, we have to go through the first piece first.
First Piece for $650$ KWh
cost for $650$ KWh @ $$0.056582$ per KWh = $650 * 0.056582 = 36.7783$
$700 - 650 = 50$
We need to find the cost for the remaining $50$ KWh
That takes us to the second piece.
Second Piece for $50$ KWh
cost for $50$ KWh @ $$0.093983$ per KWh = $50 * 0.093983 = 4.69915$
$10.00 + 36.7783 + 4.69915 = 51.47745$
cost for $700$ KWh = $$51.48$

(4.) $1000$ KWh falls in the second piece.
Basic service fee = $$10.00$
Before we use the second piece, we have to go through the first piece first.
First Piece for $650$ KWh
cost for $650$ KWh @ $$0.056582$ per KWh = $650 * 0.056582 = 36.7783$
$1000 - 650 = 350$
We need to find the cost for the remaining $350$ KWh
That takes us to the second piece.
Second Piece for $350$ KWh
cost for $350$ KWh @ $$0.093983$ per KWh = $350 * 0.093983 = 32.89405$
$10.00 + 36.7783 + 32.89405 = 79.67235$
cost for $1000$ KWh = $$79.67$

(5.) $1200$ KWh falls in the third piece.
Basic service fee = $$10.00$
Before we use the third piece, we have to go through the first piece and also through the second piece.
First Piece for $650$ KWh
cost for $650$ KWh @ $$0.056582$ per KWh = $650 * 0.056582 = 36.7783$
$1000 - 650 = 350$
We need to find the cost for $350$ KWh
That takes us to the second piece.
Second Piece for $350$ KWh
cost for $350$ KWh @ $$0.093983$ per KWh = $350 * 0.093983 = 32.89405$
$1200 - 1000 = 200$
We need to find the cost for the remaining $200$ KWh
That takes us to the third piece.
Third Piece for $200$ KWh
cost for $200$ KWh @ $$0.097273$ per KWh = $200 * 0.097273 = 19.4546$
$10.00 + 36.7783 + 32.89405 + 19.4546 = 99.12695$
cost for $1200$ KWh = $$99.13$

Some students may ask if it is possible to have just one function that will find the cost for any consumption of power.
Or is it possible to find the cost for the consumption of power that falls in the second piece, without having to go through the first piece?
Those are really interesting questions!
That is one of the reasons for studying piecewise functions ☺☺☺

Please specify the importance of not rounding intermediate calculations.
Please specify the importance of rounding only the final answer to two decimal place (because it is dollars and cents).


Solution: 2nd Method: Piecewise Function/Algebraic Method
What if we have to calculate the power rates for "several" consumption of power?
Do we have to solve this manually all the time? That will be time consuming!
We can write it as a piecewise function and use each function for the consumption of power that correspond to that piece.
Besides, writing it as a piecewise function helps us to write a computer program that will find the rate for any consumption of power.
This application has three pieces.
Let $p$ = power consumed(in KWh)
Let $c$ = cost per KWh or power consumed (in dollars)
$c = f(p)$
This can be written as: $c(p)$

For the first piece;
Basic service fee = $$10.00$
cost for $p$ KWh @ $$0.056582$ per KWh = $p * 0.056582 = 0.056582p$
$10 + 0.056582p = 0.056582p + 10$
$c(p) = 0.056582p + 10$

For the second piece;
Basic service fee = $$10.00$
We have to "finish" with the first piece first
cost for $650$ KWh @ $$0.056582$ per KWh = $650 * 0.056582 = 36.7783$
$10 + 36.7783 = 46.7783$
Then, we can multiply the remaining consumption of power by $0.093983$
$c(p) = 46.7783 + 0.093983(p - 650)$
$c(p) = 46.7783 + 0.093983p - 61.08895$
$c(p) = 0.093983p - 14.31065$

For the third piece;
Basic service fee = $$10.00$
We have to "finish" with the first piece first
cost for $650$ KWh @ $$0.056582$ per KWh = $650 * 0.056582 = 36.7783$
$10 + 36.7783 = 46.7783$
Then we have to finish with the second piece next
$1000 - 650 = 350$
cost for $350$ KWh @ $$0.093983$ per KWh = $350 * 0.093983 = 32.89405$
$46.7783 + 32.89405 = 79.67235$
Then, we can multiply the remaining consumption of power by $0.097273$
$c(p) = 79.67235 + 0.097273(p - 1000)$
$c(p) = 79.67235 + 0.097273p - 97.273$
$c(p) = 0.097273p - 17.60065$

We can now write the piecewise function as:
$$ c(p) = \begin{cases} 0.056582p + 10; & \quad 0 \leq p \leq 650 \\[3ex] 0.093983p - 14.31065; & \quad 650 \lt p \leq 1000 \\[3ex] 0.097273p - 17.60065; & \quad p \gt 1000 \end{cases} $$ Let us recalculate all the questions using the Piecewise Function method.

(1.) 0 KWh falls in the first piece.

$ c(p) = 0.056582p + 10 \\[3ex] c(0) = 0.056582(0) + 10 \\[3ex] = 0 + 10 \\[3ex] = 10 \\[3ex] $ cost for $0$ KWh = $$10.00$

(2.) 300 KWh falls in the first piece.

$ c(p) = 0.056582p + 10 \\[3ex] c(300) = 0.056582(300) + 10 \\[3ex] = 16.9746 + 10 \\[3ex] = 26.9746 \\[3ex] = 26.97 \\[3ex] $ cost for $300$ KWh = $$26.97$

(3.) 700 KWh falls in the second piece.

$ c(p) = 0.093983p - 14.31065 \\[3ex] c(700) = 0.093983(700) - 14.31065 \\[3ex] = 65.7881 - 14.31065 \\[3ex] = 51.47745 \\[3ex] = 51.48 \\[3ex] $ cost for $700$ KWh = $$51.48$

(4.) 1000 KWh falls in the second piece.

$ c(p) = 0.093983p - 14.31065 \\[3ex] c(1000) = 0.093983(1000) - 14.31065 \\[3ex] = 93.983 - 14.31065 \\[3ex] = 79.67235 \\[3ex] = 79.67 \\[3ex] $ cost for $1000$ KWh = $$79.67$

(5.) 1200 KWh falls in the third piece.

$ c(p) = 0.097273p - 17.60065 \\[3ex] c(1200) = 0.097273(1200) - 17.60065 \\[3ex] = 116.7276 - 17.60065 \\[3ex] = 99.12695 \\[3ex] = 99.13 \\[3ex] $ cost for $1200$ KWh = $$99.13$

Which of the two methods do you prefer?
What are your reasons?
What are the pros and cons that you see for each method?
Do you have any other method for solving Piecewise Function applications?



Main

General Project Requirements

(1.) You may work as a group (peer tutor to teach/correct one another).
However, this is an individual project.
In other words, you will submit your own project.

(2.) No two projects should be the same.
(a.) You may not do any of my examples even if the rates of the company have changed. Use my examples as guides to completing your own.
(b.) You may not do any of the projects of my previous students. (Student Project samples are provided below. Use them as guides to completing your own.)

(3.) Research any real-world application of piecewise function.
(a.) All information used for this project should be verifiable on the direct website of the company/organization.
(b.) Textbook examples are NOT allowed.
(c.) Find any application that has at least 2 pieces, and has at least a function in each piece that includes the independent variable.

(4.) Write the complete address of the direct page of the website where you found the application.
(a.) *If the "direct" web address is too long, please shorten it by pasting the "complete web address" into www.tinyurl.com
* *This is only for traditional students (onsite) students*
*Generate a short address and write that address "as is".*
(b.) For online students, please copy and paste the link as is.
(c.) Please set the link to open in a new window.
(d.) Required:Please submit the name of the company, the direct web page that has the application, and the objectives, in the Projects: Company Names and Websites page in the Canvas course. I shall review and respond.

(5.) As a student, you have access to Microsoft Office suite of apps.
(a.) You can download and install these apps on your laptop/desktop. Please contact the IT/Tech support in your college for assistance if you do not know.
In that regard, the project is to be typed using Microsoft Word (not Google Docs).
As at the time of this writing (05/05/2023), the reason for using Microsoft Word over Google Docs is because Microsoft Word has the opening brace for piecewise functions but Google Docs does not.
The file name for the Microsoft Office Word project should be saved as: firstNamelastNameproject
Use only hyphens between your first name and your last name; and between your last name and the word, project.
No spaces.

(b.) For all English terms (entire project): use Times New Roman; font size of 14; line spacing of 1.5
first step

(c.) For all Math terms: symbols, variables, numbers, formulas, expressions, equations and fractions among others, please use the Math Equation Editor.
(i.) Set the font to Cambria Math; font size of 14; and align accordingly
(ii.) Insert a space after each each equation as applicable. Just make a good work that is organized and spacious.
(iii.) Align the functions in each piece of the piecewise function accordingly.

second step

third step

fourth step

(d.) Include page numbers. You may include at the top of the pages or at the bottom of the pages but not both.
fifth step

(6.) Mr. C (SamDom For Peace) wants you to do this real-world project very well.
Hence, he highly recommends that you submit a draft so he can give you feedback.
It is important that you submit your draft to me via email or in the Projects: Drafts page in the Canvas course.
If you do not mind other students reviewing the feedback I provide for your draft, then please submit your draft in the Projects: Drafts page in the Canvas course.
If you mind other students reviewing my feedback for your draft, please submit your draft to my school email.
Please follow the due dates listed in the course syllabus.

When you submit your draft, I shall review and provide feedback.
When everything is fine (after you make changes as applicable based on my feedback), please submit your work in the appropriate area in the Canvas course.
Only projects submitted in the Canvas course are graded.
Draft projects are not graded. In other words, projects submitted via email and/or in the Projects: Drafts page are not graded because they are drafts. Submitting drafts is highly recommended. If your professor gives you an opportunity to submit a draft, please use that opportunity.
Submitting drafts is not required. It is highly recommended because I want to give you the opportunity to do your project very well and make an excellent grade in it.
The actual project (not the draft) should be submitted in the appropriate area (Assignments page: Piecewise Function Project) in the Canvas course.

(7.) Research Skills: Cite your source properly. Use APA, MLA, or Chicago Manual of Style. Indicate the style you used.

(8.) Writing Skills: Write or type the main application entirely.

(9.) Mathematical Skills: Arithmetic This is the Arithmetic method.
Use random numbers to test the real-world application manually for each piece.
Show all work including intermediate calculations/values.
Write down your results.

(10.) Mathematical Skills: Algebra: This is the Algebraic Method (Piecewise Function Method).
Write a piecewise function for that application.
Test the piecewise function with the same random numbers that you used for the Arithmetic method.
Please NOTE:
(a.) The intermediate results should be the same for both methods.
(b.) The final results should be the same for both methods.
If either of the results are not the same, there are issues. Please fix them.

These are the required information.
You may or may not not use a table format.
Please be creative.

Required Information
Name: Your name
Date: The date
Instructor: Samuel Chukwuemeka
Project: Power Bill: Residential Rates
Company: Georgia Public Service Commission (for Georgia Power)
(http://www.psc.state.ga.us/calc/electric/GPcalc.asp)
(Name of the company and the direct Website of company that has the piecewise function)
Objectives: (1.) Calculate the winter/summer power bill of the residents of the State of Georgia within each range of specific power usage manually using Arithmetic method.
(2.) Write a piecewise function of the residential rates.
(3.) Recalculate the same power bill of the residents of the State of Georgia within each range of specific power usage algebraically using the Piecewise Function method.
Information: Write the direct information from the direct website
Arithmetic Method: Test each piece manually
Piecewise Function: Write the piecewise function of the information
Piecewise Function Method: Test the same piece algebraically
Citation: Indicate the type of citation format.
Cite your source(s) accordingly.


Main

Students Projects

First Sample: Alex: Virginia Electric and Power Company: Power Rates


Second Sample: Karan: Harrisonburg Electric Commission: Power Rates


Third Sample: Kayla: Shenandoah Valley Electric Cooperative: Power Rates


Fourth Sample: Josiah: Union Electric Company: Power Rates


Fifth Sample: Anthony: First Energy Corp Electric Company: Power Rates


Sixth Sample: Sekani: Alabama Power: Summer: Power Rates


Seventh Sample: Avry: Mississippi Power: Summer: Single Phase: Power Rates


Eighth Sample: Ryan: Georgia Power: Winter: Power Rates


The teacher should guide each student to the successful completion of the project.
Let students know you are willing to help.


Main

Checklist

Checklist for Piecewise Function Project: Power Bill
(1.) Project is a piecewise function that has at least 2 pieces, and has at least a function in each piece that includes the independent variable.
(2.) Title of project.
(3.) Name of Student.
(4.) Name of Instructor.
(5.) Objectives of project.
(6.) Name of company.
(7.) Direct website of company.
(8.) Information on website written as is
(9.) Arithmetic Method:
(a.) Numbers in each piece, including 0 are tested.
(b.) All work including conversions are shown.
(c.) Intermediate calculations and values (before rounding) are shown.
(d.) Final results (rounded) are written and unit (currency) is included.
(10.) Piecewise Function:
(a.) Variables are defined.
(b.) All work is shown to determine the algebraic function for each piece.
(c.) Piecewise function is developed and written well using beginning brace.
(d.) The function in each piece and the corresponding domain is written well using any of the approved formats including the use of semicolon or comma.
(e.) The functions in the piecewise function are aligned properly.
(11.) Algebraic Method (Piecewise Function Method):
(a.) The same numbers including 0 tested using the Arithmetic Method, are also tested using the Algebraic Method.
Testing each number implies that each number within the domain of each piece in the piecewise function is tested in the function for that piece.
(b.) Intermediate calculations and values (before rounding) are shown. Intermediate values must be the same as the Arithmetic Method.
(c.) Final results (rounded) are the same as the Arithmetic Method and the unit is included.
(12.) References:
(a.) The reference style is specified.
(b.) Sources are cited according to the specified reference style.
(13.) Page numbers are included in every page.
(14.) Times New Roman font, font size of 14, and line spacing of 1.5 is used for the project.
(15.) Cambria Math font, font size of 14, and the Math Equation Editor is used for all Math terms including numbers, arithmetic operations, symbols, variables, fractions, formulas, expressions, and equations among others.
(16.) Correct file name.



Main

References

Chukwuemeka, S.D (2016, April 30). Samuel Chukwuemeka Tutorials - Math, Science, and Technology. Retrieved from https://precalculus.appspot.com/

Georgia Public Service Commission. (n.d.). Georgia Public Service Commission. Retrieved from http://www.psc.state.ga.us/calc/electric/GPcalc.asp



Main