A tower is 20 m high. From a point P on level ground, the angle of elevation of its top is 45°. If d metres is the horizontal distance of P from the base of the tower, which one of the following equations will give the value of d?
a) sin45∘=d20
b) cos45∘=d20
c) tan45∘=d20
d) tan45∘=20d