Answer the question
In order to leave comments, you need to log in
How to calculate the point of intersection of the sides of a triangle and a rectangle?
I'm scratching my head over a geometric problem. There is a rectangle divided by a grid of 1 meter. There is a right triangle, one leg of which is equal to the height of the rectangle, and the second one changes. How can you calculate the intersection points of the triangle's hypotenuse and the rectangle's grid? Those. when you change the leg, the hypotenuse and the points of intersection with the grid change. You need to calculate them. School geometry is not enough, alas.
Answer the question
In order to leave comments, you need to log in
I had to go through geometric formulas using atan and tan. The catch is that these functions work in radians and not in degrees. I applied the angle search formula with two known legs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question