Sphere equation from endpoints.

  • Thread starter Thread starter graycolor
  • Start date Start date
  • Tags Tags
    Sphere
graycolor
Messages
34
Reaction score
0
Find the equation of a sphere if one of its diameters has endpoints: (-19, -15, -3) and (1, 5, 17).



Thought it would be this, but the program web-work says its wrong.

Lets assume my first coordinate is a (-19, -15, -3) and b is (1, 5, 17)

I found the midpoint since I assumed that would be the center, then I found the length from my midpoint to b ,but my equation is wrong.

(x+9)^2+(y+5)^2+(z-7)^2-640=0
 
Physics news on Phys.org
hey graycolor, method sounds right... showing your working will help finding the problem easier...

that said, I would check your radius
 
I think you calculated the radius wrong.

radius=diameter/2

diameter=\sqrt{(-19-1)^2+(-15-5)^2+(-3-17)^2}=\sqrt{3*20^2}=20\sqrt{3}

Now find the radius and then r2. :smile:
 
Thanks guys
 
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