There's maybe one way you can perfectly calculate a ballistic trajectory that will pinpoint land an artillery shell on a position: if you're in a vacuum
When you start adding environmental factors like wind and temperature differences you start getting into needing in-flight course correcting shells, which do indeed exist (they guide themselves via GPS), but even America with its $1.8 trillion military budget doesn't exclusively use them because they're so expensive (in the realm of $70,000 per shell vs $800 for an unguided one)