Identify the nucleophile, electrophile, and leaving group in each of the
following substitution reactions. Predict whether equilibrium favors the
reactants or products:
(a) \(\mathrm{CH}_{3} \mathrm{CH}_{2} \mathrm{ONa}+\mathrm{CH}_{3}
\mathrm{CH}_{2} \mathrm{CH}_{2} \mathrm{I} \rightleftharpoons\)
\(\mathrm{CH}_{3} \mathrm{CH}_{2} \mathrm{CH}_{2} \mathrm{OCH}_{2}
\mathrm{CH}_{3}+\mathrm{NaI}\)
(b) \(\mathrm{CH}_{3} \mathrm{CH}_{2} \mathrm{NH}_{3}^{+}+\mathrm{KI}
\rightleftharpoons\)
\(\mathrm{NH}_{3}+\mathrm{CH}_{3} \mathrm{CH}_{2} \mathrm{I}+\mathrm{K}^{+}\)