Talk:Set of real numbers: Difference between revisions

→‎Extra Credit?: for the implementation usefulness
(Extra Credit?)
(→‎Extra Credit?: for the implementation usefulness)
Line 20:
==Extra Credit?==
What is the point of the extra credit? Finding length seems to have little to do with set membership. --[[User:Rdm|Rdm]] 20:24, 2 October 2011 (UTC)
: It's mostly for the usefulness of the set implementation in practice:
:# The length sum is the set's Lebesgue measure, which gives you a sense of the set's size, analogous to number of elements in a countable set. It can be useful for numeric methods.
:# If your set implementation allows a straightforward calculation of the length, the same method might be easily extended to do other things such as integrating a function over a set. The length of set A itself can be thought as integrating constant function f(x) = 1 for x in A.
:# If for neither of the above, the optional goal can be used as a measure of efficiency of your implementation. It easily specifies a relative large number of continuous regions (100ish) that you need to deal with for the set arithmetic. --[[User:Ledrug|Ledrug]] 23:15, 2 October 2011 (UTC)
Anonymous user