Great work @JaapDaniels1984.
As Azure_Kite mentioned, you don’t need the decimal places for the floor and ceiling because these are rounded to an integer by definition.
For every lecture, there should be a central thread for sharing answers.
I appreciate that this can feel a little like cheating but the majority of students use the [spoiler] tags to hide their answer.
Just scroll straight to the bottom, post your answer, and then maybe go back and read some of the other solutions to see if you agree with my solution and the solutions of other students (there are sometimes more than one way to tackle a calculation).
The biggest problem with posting solutions in a new thread is that any spoiler tags used in the opening post aren’t carried over to the preview under the lecture, so you may accidentally give away a solution to others.