clc, clear, close all
b = 2*pi;
x = linspace(0, b, 50);
for k = 1 : 9
y = sin(k*x).*cos(.52*x);
subplot(3, 3, k), plot(x, y, 'linewidth', 2),
axis([0, 2*pi, -1, 1]);
end
clc, clear all, close all
x = linspace(-10, 10, 50);
y = x.^2.*sin(x);
plot(x, y, 'linewidth', 2);