Hi,

It's been a number of years since I've had to use my high-school trig, so I'm actually embarrassed I have to ask this. It looks very simple but I've been staring at it for over a week and am getting nowhere.

I am trying to write some generic routines for some parametric 3D printer models and have simplified the problem to the following equations:

y = a / sin x

y = b - (c / tan x)

I want to find y for a set of known parameters a, b and c (x is the same for both, but unknown).

If I plot these two functions on a graph then I can see exactly one solution for the interval in which I am interested: (0 < x < 90degrees)

I don't know if it's because I've forgotten all my trig identities or just the simple art of solving simultaneous equations but all my attempts to reduce/solve for x have resulted in a mild headache...

Am I missing something obvious?

TIA