c=0;
for v=1:0.1:10
  y=sin(v);
  if y < 0
    c=c+1;
  end
end
disp(c)
