Assignment:
[Uniform PCM] Generate a sinusoidal signal with amplitude 1 and w = 1. Using a uniform PCM scheme, quantize it once to 8 levels and once to 16 levels. Plot the original signal and the quantized signals on the same axes. Compare the resulting SQNRs in the two cases.

Provide complete and step by step solution for the question and show calculations and use formulas.