function [stepx stepy]=step_O(O,N,draw_plot)


PHI0=0;
A=90-abs(O);
PD=90;

#A = [0:90];
#step = zeros(1,length(A));

#for i=[1:length(A)]
  [x,y]=trajectory(A,O,PD,PHI0,N,false);
  stepx=x(length(x))/N;
  stepy=y(length(y))/N;
#endfor;

x = [0 stepx];
y = [0 stepy];

plot(x,y);
axis([0,80,-40,40]);
axis("equal");
title("Step vs direction (PD=90), Maximum A");
ylabel("x (mm)");
xlabel("y (mm)");
grid on;






