Problem 1
I used my CT signal $ x(t) = 3\cos(4t + \frac{\pi}{3}) $ from homework 1.
The periodic signal was created by sampling .001 from 0 to 5
The nonperiodic signal was created by sampling .5 from 0 to 5
Problem 2
I used Non-periodic DT signal from homework 1 $ x[n] = x^2 $