I have created function
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??
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.
It worked!!! Thank you!!!