Artificial intelligent assistant

How to determine angle without using trigonometry? If we know that $\sin \theta = \frac{1}{\sqrt2}$ and $\cos \theta = \frac{1}{\sqrt2}$ then how can we determine that the right triangle with sides $1$, $1$ and $\sqrt{2}$ also has angles of $45º$ just by using geometry and some algebra, **without using trigonometric identities** (but only knowing the relationships of the sides given by the sine and cosine)? **Update** : I retrace my question. My original intent was to find the angles without using trigonometric identities, but just based on the relationships of the sides given by the sine and cosine. I think such would be impossible, however. But using the laws of cosines or sines is, of course, a very well-known approach.

You have $\sin \theta =\cos \theta = \sin (\frac \pi 2 - \theta)$. As $\sin \theta$ is increasing in this range, this gives $\theta=\frac \pi 2-\theta, \theta=\frac \pi 4$

You can use the fact that base angles of an isosceles triangle are equal. You know the $1-1-\sqrt 2$ triangle has a right angle by Pythagoras, so the other two angles have to be $45^\circ$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a3ea8c29572f300326b26c1ab8934759