This answer to this question is 1150 km
Tan 40 = h / 20 where h = height of the pole.
h = 20 tan 40 = 16.78 feet
Making the value of 'a' smaller, but still positive, will make the graph be compressed vertically.
Let's say a = 1 is the initial value. If we update it to a = 0.5, then the graph will be half as tall as it used to be, so it's compressed by a factor of 1/0.5 = 2.
The value of b determines the period of the sinusoidal function.