The following represents your original wave. You may adjust its frequency using the slider below.

Hz

Reconstructed Wave

The following represents your reconstructed wave. You may adjust sampling frequency using the slider below.

Hz

The sampling rate chosen is greater than double the frequency of the signal. Hence, aliasing does not occur.The sampling rate chosen is less than or equal to double the frequency of the signal. Hence, aliasing occurs.

Footnote: This reconstruction assumes that no additional filtering or processing is used to reconstruct the wave from the samples.
This simulator is a companion to the YouTube video Sampling, Aliasing and Nyquist Theorem from the channel lcc0612