Note on the floor operator (⌊ ⌋
): The expression ⌊x⌋
(read as "the floor of x") means to find the greatest integer that is less than or equal to x.
Essentially, you round down to the nearest whole number.
For example:
⌊3.7⌋ = 3
⌊5⌋ = 5
(since 5 is already an integer)⌊-2.3⌋ = -3
(because -3 is the greatest integer that is not greater than -2.3)Evaluate the expression: $150 - (6 \times (4 + 7) + \lfloor 21 / 5 \rfloor)$.
A construction team has 98 bricks. They need to build small identical pillars, and each pillar requires 12 bricks.
How many complete pillars can they build?
How many bricks will be left over after building the maximum number of complete pillars?
Calculate the value of: $(45 + 15 \times 3) - \lfloor 70 / 8 \rfloor$.
A robotic arm assembly requires 4 segments. Each segment uses 3 servo motors and 5 connectors. The entire arm also requires 1 central processing unit. What is the total number of servo motors and connectors needed for one robotic arm (excluding the CPU)?
Consider the expression $X = 30 + 10 \times 4 - \lfloor 16 / 3 \rfloor$.
Calculate the value of $X$.
Now, consider a new expression $Y = (30 + 10) \times 4 - \lfloor 16 / 3 \rfloor$. Calculate the value of $Y$.
What is the difference $Y - X$?