I've got the formula for launching to space going Northeast as
$$\cos(inc) = \cos(lat) \sin(az)$$
and that works great but what if I wanted to go southeast?
For example, I know that from a latitude of 28.5 degrees to get to the ISS with it's 51.6 degrees inclination, I need to launch with an azimuth of 44.98 degrees for the northeast path and online tools tell me to use 135.02 degrees for southeast but what is the mathematical formula for that southeast figure?
thanks.