Your computation (simply dividing the loan principal's end-of-tenure future value by the total number of repayments) grossly overestimates the required monthly repayment because it disregards the time value of money, failing to account for the fact that the final repayment $\$A$ has a smaller time value than the other repayments (especially the initial repayment) $\$A.$
For a $\$P$ loan with nominal interest rate $r\%$ per annum and repayment $\$A$ made $m$ times per year over $t$ years:
if compounded daily, $$A = \frac{P \left( \left(1 + \frac{r}{36500}\right)^{\frac{365}{m}} - 1 \right)}{1 - \frac{1}{\left(1 + \frac{r}{36500}\right)^{365t}}};\tag1$$
if compounded $m$ times per year, $$A = \frac{Pr}{100m\left(1 - \frac{1}{\left(1 + \frac{r}{100m}\right)^{tm}}\right)}.\tag2$$
(These formulae are derived as sums of geometric series.)
Since loans typically accrue interest on a daily basis (even as payments are required monthly), formula $\boldsymbol{(2)}$ typically underestimates the required monthly repayment, compared to formula $\boldsymbol{(1).}$
For your monthly-compounding example, the required monthly repayment $A$ is \$3940. However, if in fact your loan compounds interest daily, then paying this figure instead of the correct amount \$3947 will result in a growing shortfall (as well as interest accrued on it), leading to an outstanding loan balance at the end of the $30$-year term.