Check out image.
Check out image.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
Basically I want to know how I would solve this.........(some 3d vector magnitude stuff).........
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
Is this code the same as.........
|A|=sqrt(Ax^2+Ay^2+Az^2) ?
/EDIT/
Could I have written it this way?
Last edited by incognito; 06-23-2002 at 07:56 PM.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
I don't know what you were trying to do with the first slide.. but yeah, the magnitude of a vector is the squareroot of the sum of the squares of the components of the vector.
In the first one, I was just trying to make a point........So essentially just to make sure in the second image that I put is the same as this |A|=sqrt(Ax^2+Ay^2+Az^2)?
/EDIT/ I am just trying to see how to work with subscripts and their meanings.
Last edited by incognito; 06-23-2002 at 08:11 PM.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
Yeah but you know what? If it was higher math we could argue about it.
Well, Ax (A sub x) is in x direction..
in your program, as long as Ax (AX or Ax) represents
a magnitude in x direction, you can even name it
as Akillax ... it's just naming.
also, whenever you say Ax ^2 , it generally means (A sub x)^2
[A sub x whole square]
Squaring of x doesn't make sense as x (in this case) refers to a quantity along x axis.
Mod A i.e.
|A| = sqrt [(Qty along X)^2 + (Qty along y)^2 + (Qty along z)^2]
So you have to square the magnitude (i.e. A) along x, y and z.
in other words, You shouldn't square x, y and z but the different values of A along x, y and z axes.
example:
A = 7x+ 3y + 4z
|A|= squarerootof (7^2 + 3^2 + 4^2)
MY HOMEPAGE @ www.akilla.tk