Let the entries of the diagonal matrix $A \in R^{n\times n}$ are differentiable functions of $\theta$.
The matrix $A$ is:
\begin{bmatrix} \theta & 0 & 0 \\ 0 & \theta^3 & 0 \\ 0 & 0 & sin(\theta) \end{bmatrix}
What is the derivative of $\sqrt{A}$ :
$$\frac{\partial \sqrt{A}}{\partial \theta} = ?$$