
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 \(0 \leq \theta \leq \pi\), find the maximum value of the function \(f(\theta)=\sqrt{1-\cos \theta+\sin \theta}+\sqrt{\cos \theta+2}+\sqrt{3-\sin \theta}\).

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