Welcome to our community

Be a part of something great, join today!

Number Theory Ceiling and floor functions

matqkks

Member
Jun 26, 2012
74
Does anyone know of any real life application of ceiling and floor functions?
 

alane1994

Active member
Oct 16, 2012
126
Postal rates are floor functions. Letters between weights w1 and w2 will cost c1 cents; those between weights w2 and w3 will cost c2 cents, etc.

Tax tables are another floor function. If your taxable income is between t1 and t2 then you pay p1; if between t2 and t3 then you pay p2, etc.

Any time you go somewhere and you have to pay d dollars for every hour or portion of an hour for boating, bowling, or laser tag is a ceiling function--you played for 40 minutes means you pay the same price as a full hour.
 

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,197
Postal rates are floor functions. Letters between weights w1 and w2 will cost c1 cents; those between weights w2 and w3 will cost c2 cents, etc.

Tax tables are another floor function. If your taxable income is between t1 and t2 then you pay p1; if between t2 and t3 then you pay p2, etc.

Any time you go somewhere and you have to pay d dollars for every hour or portion of an hour for boating, bowling, or laser tag is a ceiling function--you played for 40 minutes means you pay the same price as a full hour.
Wow. Those are much better, closer-to-home, examples than I would have chosen. Great job!