$$A = \{ |x|: x^2+x < 2\}$$
Solving the inequality we get $-2 < x < 1$. Now in the notes there is written that this corresponds to write $A$ in this way:
$$A = [0, 2)$$
But I don't get how and why. If $x = 1.9$, this doesn't verify the inequality.
I would say the set is instead $A = [0, 1)$.
If I'm wrong, can you correct me?
If you don't see it clearly you can write it as $B=\{ x:x^{2}+x<2\}$ and then $A=\{|x|:x\in B\}$
As you said, $B=(-2,1)$ and then $A=\{|x|:x\in(-2,1)\}=[0,2)$