
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 the complex number \( z = 3 \cos \theta + \mathrm{i} \cdot 2 \sin \theta \), find the maximum value of the function \( y = \theta - \arg z \) within the interval \( 0 < \theta < \frac{\pi}{2} \), and determine the corresponding value of \( \theta \).

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