Calculating Angles between Vectors: Step-by-Step Guide

  • Thread starter Thread starter pokerfan91
  • Start date Start date
  • Tags Tags
    Angles Vectors
pokerfan91
Messages
15
Reaction score
0
ive got the formula down as angle=cos-1[(u.v)/(||U||||v||)

with my u as 3,1,2 and v as -2,3,4 this gives me cos-1[(-6i+3j+8k)/root406) where do i go from here?
 
Physics news on Phys.org
What is dot product supposed to give you? What did you get instead?
 
that is what the dot product is ment to give me isn't it i just have no idea where to go after that to get the angle
 
No it isn't. The dot product is supposed to give you a scalar (ie a number), but you wrote that it gives you a vector. You can't very well take the arccosine of a vector can you?
 
a\vec{i}+ b\vec{j}+ c\vec{k}\cdot d\vec{i}+ e\vec{j}+ f\vec{k}
is defined as
ad+ be+ cf
a number, NOT as
ad\vec{i}+ be\vec{j}+ cf\vec{k}
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top