Calculus Examples

Find the Domain and Range f(x)=x^2-1/x*(1,e)
I am unable to solve this problem.