I cam across this as a footnote at https://2015fallhw.github.io/arcidau/CannonBallistics.html
One of the reasons put forward for the international agreement that territorial waters extend 3 nautical miles from the coast, is that 3 nm was the maximum range of shore battery guns. The accuracy of this assertion can be tested using the software. 3 nm is 6076 yards, it is just possible to achieve this range by using a 64 lb gun with a long barrel (21 calibre) fired with a charge of 64 lb of powder (3 times the normal service charge) at an elevation of 41°, even then the gun must be mounted about 300 ft above the water to achieve the 6076 yd range.