\begin {eqnarray}
P(N(t)=n)=P(T_{n}\leq t)- P(T_{n+1}\leq t)=e^{-\lambda*t}*\frac {(\lamda*t)^{n}}{n!}
\end {eqnarray}
I want to write this in latex however and it gives me an error, can I help me?
\begin {eqnarray}
P(N(t)=n)=P(T_{n}\leq t)- P(T_{n+1}\leq t)=e^{-\lambda*t}*\frac {(\lamda*t)^{n}}{n!}
\end {eqnarray}
I want to write this in latex however and it gives me an error, can I help me?
Error cleared (\lamda replaced with \lambda):
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin {equation}
P(N(t)=n)=P(T_{n}\leq t)- P(T_{n+1}\leq t)=e^{-\lambda*t}*\frac {(\lambda*t)^{n}}{n!}
\end {equation}
\end{document}
eqnarray; in this case useequation. Fix the typo and you'll be OK. In future questions, please add information about the errors you get. – egreg Jan 12 '19 at 10:38eqnarrayis bad, see the links in this answer. – Circumscribe Jan 12 '19 at 11:58