Question: Why the limit operation gives wrong result

When the limit approaches from left, the result must be zero. What cause the wrong? Will introducing an extra parameter M affect the result in W1?

W := -1/2+(1/2)*tanh(3.6*(tan(Pi*(r-2.1)/(2*7.9))-.6^2/tan(Pi*(r-2.1)/(2*7.9)))/Pi)

-1/2+(1/2)*tanh(1.145915590*tan(.1988349781*r-.4175534540)-.4125296124/tan(.1988349781*r-.4175534540))

(1)

limit(W, r = 10, left)

-1.000000000

(2)

W1 := -1/2+(1/2)*tanh(3.6*(tan(Pi*(r-2.1*M)/((2*7.9)*M))-.6^2/tan(Pi*(r-2.1*M)/((2*7.9)*M)))/Pi)

-1/2+(1/2)*tanh(1.145915590*tan(.1988349781*(r-2.1*M)/M)-.4125296124/tan(.1988349781*(r-2.1*M)/M))

(3)

limit(W1, r = 10*M, left)

-1.000000000

(4)

NULL

Download limit.mwlimit.mw

Please Wait...