Multi-choice problem: does word "end" have the same meaning in the following two sentences?

Start at the beginning and go on until you come to the end.

The so-called glorious experiment came to an inglorious end.

Pick from:
(i) different meanings.
(ii) the same meaning.
(i)