Some time ago, I was given a homework, which, among other things, asked to demonstrate the following equality: $$\left\lfloor \sum_{k=1}^{10000} {1 \over \sqrt k}\right\rfloor = 198$$ I've tried a few things but nothing got me too far; I haven't found anything on the Internet about this, either (at least not satisfactory enough).
I've also wondered if/how it'd be possible to find the result for any positive integer $n$, i.e. to find $q$ such that $$\left\lfloor \sum_{k=1}^n {1 \over \sqrt k}\right\rfloor = q$$
EDIT: Thanks a lot for all your responses. This problem (at least in my case) is for 9th grade, so no integration allowed (or calculus in general), although I'm not sure a proof of that level is possible; your responses are good enough for me, anyways.
I've tried a few things but nothing got me too farCould you elaborate on what those few things are? – Lee David Chung Lin Jun 30 '19 at 22:47