Discrete Structure05 marksCeiling and floor functions
Define celling and floor function. Explain Boolean function with example.
Define celling and floor function. Explain Boolean function with example. [5]
--- The floor function of a real number x, denoted ⌊x⌋, is defined as the greatest integer less than or equal to x. $$\lfloor x \rfloor = \text{largest integer } n \text{ such that } n \leq x$$ Examples: - ⌊3.7⌋ = 3 - ⌊5⌋ = 5 - ⌊-2.3⌋ = -3 --- The ceiling function of a real number x, denoted ⌈x⌉,...