# [?] Get number form of 1/e^-infinity ??

Posted 3 months ago
452 Views
|
2 Replies
|
1 Total Likes
|
 I have created function Cend[x_]:=Limit[1/(e^(-x*n)+1),n->infinity] and when I put -1 in it it gives me which should be 0. I have tried //N, putting =and== in front, and seperating function and limits... but nothing helps me. What should I do to get 0 from that??
2 Replies
Sort By:
Posted 3 months ago
 Well, the Wolfram Language is case sensitive. Try using a capital E and spell Infinity with a capital, too. Cend[x_] := Limit[1/(E^(-x*n) + 1), n -> Infinity] If you then evaluate the function for x->1 you'll get your result.Cheers,Marco