trigonometry is a branch of mathematics that deals with the relationships between the sides and…