I was trying to do understand how N
works in Mathematica, but I couldn't understand the followings:
Table[N[Log[DedekindEta[(I b*1/1000)/(2 π)]]], {b, 1, 5}]
Table[N[Log[DedekindEta[(I b*1/1000)/(2 π)]], 10], {b, 1, 5}]
Table[N[Log[DedekindEta[(I b*1/1000)/(2 π)]]], {b, 1, 5, 0.5}]
Table[N[Log[DedekindEta[(I b*1/1000)/(2 π)]], 10], {b, 1, 5, 0.5}]
N[Log[DedekindEta[(I 1*1/1000)/(2 π)]], 10]
The results of above codes are
{Indeterminate, Indeterminate, -544.488, -407.554, -325.419}
{-1640.561251, -818.4407908, -544.4878456, -407.5538477, -325.4187162}
{Indeterminate, Indeterminate, Indeterminate, -654.059, -544.488,-466.235, -407.554, -361.92, -325.419}
{Indeterminate, Indeterminate, Indeterminate, -654.059, -544.488,-466.235, -407.554, -361.92, -325.419}
-1640.561251
First, I can't see why Indeterminate
shows up even when the actual results are not that big or small. (Sometimes the precision can be helpful as you see in the 1st and 2nd lines, but not always as you see in the 3rd and 4th lines.)
Second, I can't understand why the first component of the fourth code doesn't give me -1640.561251
as the fifth code does. For me it looks like there is no difference at all.
In summary, I would really appreciate if you let me know how to avoid Indeterminate
when using N
in general!