Final answer:
Captain Hornblower is the fictional captain inspired by Horatio Nelson and Thomas Cochrane in the novels by C.S. Forester.
Step-by-step explanation:
The fictional captain that was inspired by Horatio Nelson and Thomas Cochrane and created by C.S. Forester is Captain Hornblower.
The character of Captain Hornblower is the protagonist of a series of novels written by C.S. Forester, which depict his naval adventures during the late 18th and early 19th centuries.
Horatio Nelson and Thomas Cochrane were both real-life naval officers known for their bravery and tactical skills, and their influence can be seen in the character of Captain Hornblower.