Calculate the definite integral of \( \int_0^1 x^2 \, dx \).
Find the value of \( \int_1^e \frac{1}{x} \, dx \).