Before we start answering questions, let's look at our function a little more carefully.
The term 50cos(12tπ) has a period of 24 hours, while the term
200cos(4380tπ) has a period of one year. So, the former term describes a standard daily variation, while the latter gives a seasonal variation over the year.
(a) Using the definition of an average, the average concentration over one year (t=0 to 8760) is:
87601∫08760(400+50cos(12tπ)+200cos(4380tπ))dt=87601∫08760400dt+876050∫08760cos(12tπ)dt+8760200∫08760cos(4380tπ)dt=400+8765[π12sin(12tπ)]08760+2195[π4380sin(4380tπ)]08760 Since 128760=730, which is even, sin(128760π)=sin(0)=0. Also, sin(43808760π)=sin(2π)=0.
=400+8765(0)+2195(0)=400 ppm Remark: for the portions of the integral in red and blue, we also could have noticed that the integrand goes through a whole (integer) number of periods. For every period, the net signed area between the curve and the x-axis is zero, so we could have seen from the very beginning these terms would contribute 0 to the final average.
(b) Using the definition of an average, the average concentration over the first day (t=0 to t=24) is:
241∫024(400+50cos(12tπ)+200cos(4380tπ))dt=241∫024400dt+2450∫024cos(12tπ)dt+24200∫024cos(4380tπ)dt Note t=0 to t=24 is one complete period for the integrand in red, so the red integral will evaluate to zero. However, t=0 to t=24 is less than one cycle for the integrand in blue, so we expect this will contribute some non-zero quantity to the average.
=400+0+24200[π4380sin(4380tπ)]024=400+325⋅π4380sin(438024π)=400+325⋅π4380sin(3652π)≈400+199.99=599.99 ppm Remark: C(0)=400+50+200. The red term comes from the daily variation, and over the first day this will have an average of 0. The blue term comes from the seasonal variation, which changes dramatically over the course of an entire year but won't change very much over the course of a single day. So, it is reasonable that the average concentration over the first day should be close to (but not exactly) 400+200 ppm.
(c) The average of N(t) over [0,8760] is:
87601∫08760(350+200cos(4380tπ))dt=350+8760200[π4380sin(4380tπ)]08760=350+8760200[π4380sin(43808760π)]=350+π100sin(2π)=350 Since the average of C(t) was 400, this gives us an absolute error of ∣400−350∣=50 ppm, for a relative error of
40050=0.125, or 12.5%.
That is: sampling at the same time every day, rather than throughout the day, lead to an error of 12.5% in the yearly average concentration of carbon dioxide.