Artificial intelligent assistant

$\int { \max { \left( 1,{ x }^{ 2 } \right) dx } }$ I am confused with this integral,can anybody help me,thanks beforehand $$\int { \max { \left( 1,{ x }^{ 2 } \right) dx } } $$

**Hint** :

The function you are integrating is equal to:

$$f(x)=\begin{cases}x^2 & x \leq -1\\\ 1 & -1\leq x\leq 1\\\ x^2 & 1\leq x\end{cases}$$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 2c03d34269e6e557d5a47a03ec93c364