Looking for a rational sine function for an acute triangle I have a triangle $(5,6,7)$, that is $a=5$, $b=6$, $c=7$ and I want to find the coordinates of the vertices on the  $xy$ plane in a manner that I can implement in a program or a spreadsheet. I let $(x_{ac},y_{ac})=(0,0)$. I let $(x_{bc},y_{bc}=(7,0$). Then, from the law of cosines, to get $(x_{ab},y_{ab})$, I let
$$x_{ab}=a*\cos⁡(\alpha)=a*\frac{a^2+c^2-b^2}{2ab}=5*\frac{25+49-36}{2*5*7}=\frac{38}{14}=2.714285714285714$$
and this appears to be the correct value according to answers to my earlier question. 
I can use this sine identity to get the value for $y_{ab}$:
$$y_{ab}=a\sin⁡(\alpha)=a\sqrt{1-\cos^2(\alpha)}=a\sqrt{1-\left(\frac{a^2+c^2-b^2}{2ab}\right)^2}$$
 but I would like to find a $rational$ solution (without the square root) like the cosine function I used for $x_{ab}$ (if one exists).
Can the law(s) of sines (or cosines) be manipulated to produce a sine value using only side lengths without the radical?
 A: Call a triangle rational if the sines and cosines of all three of its angles are rational. 
What follows shows that you build rational triangles by gluing together rational right triangles (scaled Pythagorean triples) along a common edge. For example, $13,14,15$ and $9,10,17$:

Lemma. Rationality is scale invariant. The sides of rational triangle are commensurate. A rational triangle is always similar to a rational triangle with integer sides;
Proof: Scale invariance is obvious. For the second assertion use the law of sines. For the third, find the least common multiple of the denominators.
Lemma. A triangle is rational if two of its three angles have rational sine and cosine.
Proof: Use the fact that the sum of the angles is $\pi$ and the addition formulas for sine and cosine to calculate the sine and cosine of the third angle.
Corollary. A right triangle is rational if and only if it's similar to a Pythagorean triangle (a right triangle with integer sides).
Theorem. A triangle is rational if and only if each of the triangles formed by dropping an altitude from a vertex is a Pythagorean triangle.
Proof. Put together the pieces. Note that you can use any one of the three altitudes.
So there are lots of rational triangles, with many shapes, obtuse as well as acute, scalable if you don't require integer side lengths. I am pretty sure that rational triangles are dense in the space of all triangles, with just about any measure of the distance between triangles.
Note. It was fun to take up this question after more than $60$ years: Area of an acute triangle, given two sides and an altitude
A: I think I would look for the intersection of the cricles
$x^2 + y^2 = 25\\
(x-7)^2 + y^2 = 36\\
x^2 -14x + 49 + y^2 = 36\\
x^2 - 14x + y^2 = -13$
Subtract the last line from the first line.
$14x = 38\\
x = \frac {38}{14}$
And substitute into either equation
$\frac {38^2}{14^2} + y^2 = 25\\
y^2 = \frac {4900 - 1444}{196}\\
y = \frac {\sqrt {3456}}{14}\\
y = \frac {12\sqrt {6}}{7}$
