In the previous activity we came up with a method to use the model of the rate of traffic on Route 15 in Johnson Vermont to estimate the total car count between 6am and 4pm. Now we consider how we can improve the estimate. [br][br]In the previous activity we used two samples of the traffic rate, one at 6am and another at 11am. One way to improve our estimate would be to simply sample more often. For instance, we might sample 3 times: the first sample could be at 6am, and the other 2 samples could be equally spaced between 6am and 4pm. [br][br]Of course this could then be further improved by sampling 4 times, and 5 times, and so on. This is illustrated in the applet below. Try adjusting [code]Samples[/code] to increase the number of times the model of the traffic rate is sampled, and notice how [code]TotalTraffic[/code] changes. This change is the estimate of the car count [i]improving[/i] as the number of samples increases. Furthermore, we also see that [code]TotalTraffic[/code] increases as [code]Samples[/code] increases, but it won't increase to infinity; instead it is converging to a certain number. We'll study what that number is shortly. ([b][color=#ff0000]Spoiler Alert:[/color][/b] it's the integral.)[br][br]For now, you're limited to a maximum of 10 [code]Samples[/code] (one per hour) in this applet, but we'll shortly lift that restriction.
Quick Check: What is the estimate of TotalTraffic with 6 samples?
Clearly there's a lot going on here, but there's two things that are most important to focus on:[br][br][list][*]As [code]Samples[/code] increases, the estimate [code]TotalTraffic[/code] (which can be visualized as the sum of the areas of the green rectangles) becomes more accurate. (Note: You may have noticed that [code]TotalTraffic[/code] is also increasing, but this is a bit of a red herring and isn't really important; more on that later.)[/*][*]As [code]Samples[/code] increases, the green rectangles converge to the 2 dimensional region that's the area under the function [code]g(x)[/code] , above the x-axis, and between [code]StartTime[/code] and [code]FinishTime.[/code][br][/*][/list][br]The second bullet is tremendously important. To really hammer it home, I've upped the limit on [code]Samples[/code] to 150 in the applet below. I've also shaded the area under the graph of [code]g(x)[/code] maroon so you can see how the rectangles "converge" to the shaded region. Be careful as you increase [code]Samples[/code]; this applet is known to crash weak computers.
But what does this all have to do with [b]integrals[/b]? Move forward to find out!