Дана функция \(f(x) = \begin{cases} 2x, & \text{если } x \lt 0 \\ x^2, & \text{если } x \geq 0 \end{cases}\). Вычисли \(f(3)\).
Ответ: