Ratio of Triangle Sides. Calculate Length of Unknown Side using limited data.

69 Views Asked by At

In looking at the Triangle below, is there a ratio between sides f and g that would allow me to calculate side j based on i. Or another way to calculate side j?

Triangle Problem

Ok,Sorry.. my problem is different than my original image.. Applying Pythagorean,.. twice would solve my first image. Thank you. What about a solution for the following different problem?

Sides j and k are both always known actually based on distance sensors, but I need a calculation to know what the ratio(?..) between the sides will be when I'm lined up perpendicular as shown in the next image. It's 4am and I'm working on Robot navigation problem. Brain dead.. I do not know distance between the two points labeled "fixed points". They can vary during setup and I cannot automatically measure between them to change my program.

Updated Problem Image