
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 function $f(x)=\sin ^{2}x+\sin (2x)$.  
$(1)$ Find the analytical expression of $f'(x)$;  
$(2)$ Find the area of the triangle formed by the tangent line to the curve $y=f(x)$ at the point $(\frac{π}{4},f(\frac{π}{4}))$ and the two coordinate axes.

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