Finding the angle between 2 vectors

  • Thread starter Thread starter PinkFlamingo
  • Start date Start date
  • Tags Tags
    Angle Vectors
AI Thread Summary
To find the angle between two vectors in 3D, use the dot product formula: a·b = |a||b|cos(θ). The angle θ can be calculated using the formula θ = arccos( (a·b) / (|a||b|) ). The dot product a·b is computed as a1b1 + a2b2 + a3b3, while the magnitude |a| is found using the square root of the sum of the squares of its components. By substituting the values of the vectors a and b into these equations, the angle can be determined. This method effectively provides the angle between the two specified vectors.
PinkFlamingo
Messages
19
Reaction score
0
Could someone refresh my memory how to find the angle between 2 vectors in 3d, say:

a= 4i + j + 2k
b= -i +2j + k

Thanks!
 
Physics news on Phys.org
dot product

a.b = |a||b|cos (ang)
 
So how would I find the angle for the two I posted?
 
He just told you. Solve for theta and plug and chug.

\theta = \arccos{\left( \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|\right)}

\vec{a}\cdot\vec{b} = a_1b_1 + a_2b_2 + a_3b_3
and
|\vec{a}| = \sqrt{{a_1}^2 + {a_2}^2 + {a_3}^2}

if \vec{a} = <a_1,a_2,a_3> and likewise for b.

cookiemonster
 
Last edited:
Nice thinking Cookieman...
 
Thank you!
 
Thread 'Struggling to make relation between elastic force and height'
Hello guys this is what I tried so far. I used the UTS to calculate the force it needs when the rope tears. My idea was to make a relationship/ function that would give me the force depending on height. Yeah i couldnt find a way to solve it. I also thought about how I could use hooks law (how it was given to me in my script) with the thought of instead of having two part of a rope id have one singular rope from the middle to the top where I could find the difference in height. But the...
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Back
Top