If $\int_{\frac{1}{3}}^{3}|\log_e x|dx=\frac{m}{n}\log_e\left(\frac{n^{2}}{e}\right)$, where m and n are coprime natural numbers, then $m^{2}+n^{2}-5$ is equal to ______ .
Numerical-value question: the answer is a number.
Show answer
The answer is 20.
Key from source paper