
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given vectors $\overrightarrow{a}=(\sin x, \frac{3}{2})$ and $\overrightarrow{b}=(\cos x,-1)$.
(1) When $\overrightarrow{a}$ is parallel to $\overrightarrow{b}$, find the value of $2\cos ^{2}x-\sin 2x$.
(2) Find the maximum value of $f(x)=( \overrightarrow{a}+ \overrightarrow{b}) \cdot \overrightarrow{b}$ on $\left[-\frac{\pi}{2},0\right]$.

Present the answer in LaTex format: \boxed{Your answer}
user