Your answer will be 17/15
Firstly you should use Pythagorean’s theorem like this
H²=p²+b²
Where p is bc
And b is ac
Then keep the value and solve it and you will get h as 17
At last keep cosA = b/ h
Hope it helps : )
If you didn’t understand please tell me