function [x, y] = q4a()

x = linspace(-pi, pi, 100) + randn(1, 100) * 0.01;
y = sin(x);

