A student prepares propanoic acid from propanenitrile, . Two methods are tried.
Method 1: propanenitrile is refluxed with dilute sulfuric acid, then the mixture is neutralised and the product is isolated.
Method 2: propanenitrile is refluxed with dilute aqueous sodium hydroxide, then the mixture is acidified and the product is isolated.
Both methods give the same organic product.
Explain why both methods give the same organic product, and state the role of the sulfuric acid in Method 1 and of the sodium hydroxide in Method 2.