NOTE: since you Edited the question instead of adding a post to the thread, I have no way of knowing where the insertion with the functions came from - the one you wrote red boxes on. Was that given in the problem? Please don't erase the chalkboard till everyone has had a chance to read it!
Also, since you continue to post on the "Calculus" board, I assume we can use terms like "integrate." Should we be sticking with Algebra?
The power supplied by a certain battery is a constant 10 W over the first 5 hours, zero for the following 2 hours, a value that increases linearly from zero to 12 W during the next 10 hours, and a power that decreases linearly from 12 W to zero in the following 7 hours. What is the average power, in Btu/h, during this time? Round answer to two decimal places
Starting from t=0, the problem defines to power being taken from the battery.
(1) "Over the first 5 hours" --> 0 < t < 5
(2) "following 2 hours" --> 5 < t < 7
(3) "the next 10 hours" --> 7 < t < 17
(4) "following 7 hours" --> 17 < t < 24
The power (in Watts) is thus a piecewise function. There is a linear equation for P(t) in each piece, to be found from the description of power levels in the question.
For instance, for segment (3),
"
a value that increases linearly from zero to 12 W during the next 10 hours"
gives you two points on a straight line: (7,0) and (17,12). The slope of the line is (12-0)/(17-7) = 6/5, and its y-intercept is at t=7.
As to area under the function, that will have horizontal units of hours and the vertical axis will be Watts. Thus the area will be W-hr. You can find that area by integrating, OR by adding up rectangles and triangles.
(1) (10 W)(5 h) = ... W-h
(2) (0 W)(2 h) =
(3) (1/2)(12 W)(10 h) =
(4) (1/2)(12 W)(7 h) =
TOTAL = ... W-h
The average (W) is the Total W-h divided by (24 h). Finally, convert W to Btu/h
[Or, convert W-h to J, J to Btu, and divide by 24h to get Btu/h.]