I have a simple problem that I need to solve. Given a height (in blue), and an angle (eg: 60-degrees), I need to determine the length of the line in red, based on where the green line ends. The green line comes from the top of the blue line and is always 90-degrees.
The height of the blue line is variable. The angle of the blue line is variable.
Also, I do not know the length of the green dashed-line. Is there a way to figure out the length of the red line without knowing the length of the green?
Any help would be much appreciated!