If you think so, this problem is simple. The earth is negatively charged, isn't it? Then we see the earth as a place with some particles. What are the electric field lines of negatively charged particles? Are you hungry? It can be said that the direction of electric field intensity is vertical downward.
I have something to go now, and it's too late to answer you in math, hehe.
166403960 physics free Q&A QQ group, welcome to learn from each other.