Im looking formula to find angle between 0,0,0 and for examle x=100 y=500 z=10. Is it possible using arctan? Tried to figure out how to implement angle between two vectors, but couldnt make it work
Im looking formula to find angle between 0,0,0 and for examle x=100 y=500 z=10. Is it possible using arctan? Tried to figure out how to implement angle between two vectors, but couldnt make it work
What angle? The angle between the vector and the x-z plane? The angle in the x-y plane? The angle between the vector and one of the axes?Im looking formula to find angle between 0,0,0 and for examle x=100 y=500 z=10.
Entia non sunt multiplicanda sine necessitate
is there way to combine x-z angle and y-z angle in to single angle?
I don't know what that means, but you can calculate any angle you can clearly define.
As a guess, it looks like an attempt to convert Cartesian coordinates to spherical coordinates, where you need r, θ, and φ. https://en.wikipedia.org/wiki/Spheri...an_coordinates Looking at the formulas given in Wikipedia, it looks like you have r and φ, and you just need θ, which appears to be an ACOS() function. Did I guess right?
Originally Posted by shg
Thank you so much for help. sorry im total noob in mathematics :P elevation from the reference plane asin(z/r) was the formula i was looking for
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks