Home > categories > Construction & Real Estate > Other Flooring > Ceiling and Floor Functions help, please?
Question:

Ceiling and Floor Functions help, please?

for both ceiling and floor functions, how do you evaluate each for different values of x?also, is there a relationship between them?

Answer:

ceiling: Round up to nearest integer floor: Round down to nearest integer floor or ceiling of an integer simply gives the same integer you started out with. Examples: floor(4.5) = 4 ceil(4.5) = 5 floor(4) = 4 ceil(4) = 4 floor(4.1) = floor(4.9) = 4 ceil(4.1) = ceil(4.9) = 5 floor(x) <= ceil(x) where <= means less than or equal to For integers n, m with m 0: ceil(n/m) = floor((n+m-1)/m)

Share to: