function ast
clear all;
close all;
u = 2;
w = 2 * pi;
t = linspace(0,1,1000);
ua = u * sin(w*t);
plot(t,ua);
ub=ua.^2;
plot(t,ua,'b'); hold
plot(t,ub,'r'); 
grid on;
legend('einfach','quadriert');
end