system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What is a "firing solution"?

In regards to missiles and torpedoes, what exactly do they mean when they are working on a firing solution. Especially when most modern missiles and torpedoes seem to have automatic homing / target funding technology?
gpt
Firing a torpedo involves three or more factors while attempting to maintain stealth. 

The directions and speed of the ships, the current, and possibly terrain, means that shooting a torpedo is a tricky bit of math especially when the other ships position speed and such may not be known perfectly.

On top of that, while torpedoes CAN use sonar, the later it goes into active hunting mode the better chance to hit the target so the goal is a shot with a course that maximizes the chance of putting the fish in striking range  and minimizing the chance to the enemy escaping it.