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

I have created function

Cend[x_]:=Limit[1/(e^(-x*n)+1),n->infinity]

and when I put -1 in it
it gives me

Annotation2020-02-12154238.png

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??

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

It worked!!! Thank you!!!