Results 1 to 10 of 10

Thread: Vectors

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Posts
    16

    Vectors

    Hey there,

    Could someone take a look at this question,

    The angle better vectors i + j and 2i + j + tk is pi/4. Find the possible values of t.

    Ive been at it for a while now and cant seem to get the right answer.
    Simplicity over efficiency!!!

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    cos a =(V1 dot V2)/(|V1||V2|)
    solve V1.z
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Posts
    16
    Yad think, ive been trying that and no luck.
    Simplicity over efficiency!!!

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    Your notation is unfamiliiar to me. I assume that the two vectors in mathematical instead of engineering noation are the following.

    (1, 1, 0) & (2, 1, t)

    The dot (or scalar product) of those vectors is 3, which is not a function of t.

    The cosine of the angle is 3 / SquareRoot(10)

    Hence the angle is about 18.4349 degrees, not matter what value you assign to t.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    i j and k is called the unit vectors and defines a coordinate system.
    (1, 1, 0) dot (2, 1, t) is a function of t, i'm just too lazy to do it.
    well i guess i have nothing else to do
    ((1*t-0*1) - (1*t-0*2) + (1*1-1*2))/(sqr(1^2+1^2)sqr(2^2+1^2+t^2))=cos(pi/4)
    the rest is yours
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6
    sql_lall
    Guest

    Talking Don't you just mean:

    ((1*t-0*1) - (1*t-0*2) + (1*1-1*2))/(sqr(1^2+1^2)sqr(2^2+1^2+t^2))=cos(pi/4)

    IS THE SAME AS:

    (t-t-1)/(sqr(2)*sqr(5+t^2)) = cos(pi/4)
    - I just simplified stuff like 1^2, 1*t etc.

    IS THE SAME IS

    -1/(sqr(2)*sqr(5+t^2)) = cos(pi/4)

    => -1/cos(pi/4)=sqr(2)*sqr(5+t^2)
    => -1/(cos(pi/4) * sqr(2)) = sqr(5+t^2)
    => sqr( 1/( (cos(pi/4) * sqr(2)) ^2) -5)=t

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    just call me lazy (sorry guv, yeah you were right but then again the t was in |V2|)
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Posts
    16
    Hey there,

    I got the answers (+ and - 2), I left my calculator in degrees and not radians, thanks anyway.
    Simplicity over efficiency!!!

  9. #9
    DerFarm
    Guest
    Your welcome. Glad to be of service. Call back anytime, Kovan
    and Guv are waiting.

  10. #10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width