clear
eta=0.35;
w(1)=5;
format long
for k=1:90
w(k+1) = w(k) - eta*(2*(w(k)-3)-sin(w(k))-0.1*exp(-0.1*w(k)));
end

plot(w,'o-')

2*(w(91)-3)-sin(w(91))-0.1*exp(-0.1*w(91))
wstar=w(91)



ans =

     2.081668171172169e-16


wstar =

   3.071696112536958



--------------------------------

2011160120 수학과 정재욱 입니다.