Real world problem: Somebody stays on an inclined surface. In which direction will they fall?
Description:
I place on the ground a wooden plank (W). It is parallel to the ground (G) (the ground is the reference).
The size of the plank is irrelevant. The plank has no thickness.
I stick 3 bricks under the plank, at 3 random places (not necessary under the corners of the plank).
One's brick height (z) brick is 10cm high, one's is 20 and one's is 30 (or any random size you like).
This will obviously tilt the plank. Depending on the size of the bricks, the plank could be tilted only on Y axis (towards north-south), only on the X axis (east-west) or both axis.
We know the coordinates of the bricks (P1, P2, P3).
$$ \cases{ p_1 =(x_1,y_1,z_1)\\ p_2 = (x_2,y_2,z_2)\\ p_3 =(x_3,y_3,z_3) } $$
(Clarification: X, Y relative to the bottom-left corner of the plank (which we make 0,0), not to the ground.)
Now, I drill a hole into the plank (random point) and put a stick through the hole, into the ground. The stick will be perfectly perpendicular TO THE GROUND.
Question:
Imagine somebody placed the briks under the plank and now that person sits on the plank. Without looking at the plank, I need to tell in which direction he is looking (north, south, east, west, or combination of those).
(The north, south, east, west are made up names. They do not have to be the real Earth coordinates. I just try to exemplify that the plank will have an inclination towards one of the 4 directions. )
And I also need to know two angles:
- the angle between the stick and one edge of the plank and
- the angle between the stick and the other edge (perpendicular to the first edge).
I will upload a sketch also if the description is not enough.