how are functions connected to right triangles?

What functions? Give us more specific information to allow us to respond.