On a $3$ dimensional plane:
Given that two vectors $\left(x_1,y_1,z_1\right)$ and $\left(x_2,y_2,z_2\right)$ are known and that each of these vectors belong to two separate straight lines intersecting each other at $(0,0,0)$
What formula can be used to calculate the angle formed by the intersecting lines?
If you have two vectors $\mathbf v$ and $\mathbf w$ that both start from the origin, their dot product is $$ \mathbf v\cdot\mathbf w = \|\mathbf v\| \|\mathbf w \| \cos(\theta) $$ where $\theta$ is the angle between them, and $\|\mathbf v\|$ is the magnitude of $\mathbf v$.