This is a question I have been thinking about which is not really related to the Ext 2 course, but it should involve work from only HS maths.
Lets say I want to write a program that randomly creates circles of radius 1 km on the earths surface.
To do this, lets say I simply pick a random longitude and a random latitude. If I ran this program many times, it would pick as many circles outside the 45 degree latitudes as inside. But there is less surface area outside the 45 degree latitudes than inside, so the effect would be to cover the polar regions with circles more densely than equatorial regions.
I am looking for a function which would cover all regions of the earth evenly by area. To do this, you might use a random number generator Rnd(x) which picks a continuous random number between 0 and x. For example, if I wanted to pick a random longitude, I might use Rnd(360)-180 to create a random number between -180 and 180 (say -123.371).
Is there someone who understands the problem who would be able to create such a function. Or perhaps there is another coordinate system which would allow one to randomly choose a point on the earth's surface without adjustment.
Lets say I want to write a program that randomly creates circles of radius 1 km on the earths surface.
To do this, lets say I simply pick a random longitude and a random latitude. If I ran this program many times, it would pick as many circles outside the 45 degree latitudes as inside. But there is less surface area outside the 45 degree latitudes than inside, so the effect would be to cover the polar regions with circles more densely than equatorial regions.
I am looking for a function which would cover all regions of the earth evenly by area. To do this, you might use a random number generator Rnd(x) which picks a continuous random number between 0 and x. For example, if I wanted to pick a random longitude, I might use Rnd(360)-180 to create a random number between -180 and 180 (say -123.371).
Is there someone who understands the problem who would be able to create such a function. Or perhaps there is another coordinate system which would allow one to randomly choose a point on the earth's surface without adjustment.