Seriously, when do you use either/
Used Trig all the time when fitting pipe in the factory.
You need to run a 8 inch diameter line across 42 feet horizontal distance. But you also have 12 feet vertical offset. How long do you make the transitional piece And what are the angles of the elbows to connect it?
A squared plus B squared equals C squared will get you the answer to the first question. But you're gonna need trig to answer the second.