For the classes of atul roy
the codes for MATLAB graph are below
f=@(t,y) (3/pi)*y-sin(y)
y1=[-.7 -pi/6 -.5 0 .5 pi/6 .7 1];
[t,y]=ode45(f,[0 -20],y1);
plot(t,y,'lineWidth',2)
axis([-20 0 -1 2])
hold on
[t,y]=ode45(f,[0 100],y1);
plot(t,y,'lineWidth',2)
axis([-20 100 -1 2])