solve intersection equation for t

Discussion in 'Math' started by Gadersd, Jan 9, 2014.

  1. Gadersd

    Thread Starter Member

    Dec 8, 2012
    98
    1
    I have an equation (o+t*d)dot(o+t*d)=r^2 where o is a ray's three dimensional origin, t is a scaler variable representing a ray's distance, d is a ray's three dimensional direction, r is a sphere's radius, and dot is the dot product. How can I solve for t? Please list the steps as well as the answer.
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,788
    4,808
    This sounds like it belongs in Homework Help.

    What is the dot product of any vector with itself?

    Can you sketch what the system looks like, at least somewhat? That will help you visualize what it going on.
     
Loading...