In right triangle ABC