*sorry, i meant the first function. The second seems to intersect a few more times, but I'm not sure whether to count the intersections of each of the pieces with the third individually, or as a whole. i.e. individually, there would be around 2007*2 intersections, yet as a whole it would be around 2007.