How to calculate the Laplace Transform of such a function like this:
$$\frac{1-e^{-t}}{t}$$
I try to separate, got the $\text{Ei}$ function, try to evaluate using Residue, got $0$. This function seems not to be on $L^1$ class, but the Wolfram Math calculates nevertheless, so how do I? Thanks!
Hint. By setting $$f(t):=\frac{1-e^{-t}}{t} $$ one has $$ \mathcal{L}\{1-e^{-t} \}(s)=\mathcal{L} \{tf(t) \}(s)=-F'(s) $$ where $F(s)$ is the Laplace transform of $f(t)$. Then use $$ \mathcal{L}\{1-e^{-t} \}(s)=\frac{1}{s}-\frac{1}{s+1},\quad s>0. $$