Why 18th century soldier don't use bow and arrow in coalition with bayonets.
Bayonets came out in China 1000 year ago, with a pistol attached to a short spear. Because short spear have, less range, but more flexibility, but by adding a pistol, it would have long spear range. By 18th century western bayonet only have 300 meters range, can't cover advancing troop, can fire only one round till melee. Mongol bows and arrow from 13th century, with rocket attached to the arrow can fire 800 meters, fire repeatedly and cover advancing troops. It was extremely effective till 19th century. So, why western troops prior to 19th century, no longer use archers, after bayonets arrive
By no means am I an expert on this; however, the long rifle/musket was used in the 1700s and proved deadly against Indian bows and arrows especially during the French-Indian War in North America that is the North American aspect of the Seven Years' War.
The bow required strength, muscle conditioning and training. Also, the musket ball always penetrated armor. The musket required no physical strength and a very minimal amount of training. It was easier to have a line of unskilled troops mass their fire than it was spend years training young men to be skilled archers.