Calculating Z Co-ordinate for 3D Pipe at (0,0,0)

  • Thread starter Thread starter kevdoig
  • Start date Start date
  • Tags Tags
    3d Pipe
kevdoig
Messages
9
Reaction score
0
I have a point a 3D space (say 0,0,0), a radius of the circle(say 2m), and know a single point that lies on the circle at a certain x co-ordinate, and have the corresponding y coordinate for the point on the circle. How can I calculate the Z co-ordinate for this point given the above parameters?

I am trying to generate a 3D pipe and have the centre of the pipe at (0,0,0), and know the the x distance along the pipe and the height of the pipe at any given point, but not its depth (which i need to calculate), if this helps explain.
 
Mathematics news on Phys.org
Assuming that the point you named in 3D space (0,0,0) is the center of the circle of radius 2m, and that you know that ( x_0 ,y_0,z) is a point on the circle and z (the Z coordinate) is unknown: then to determine z know the the distance between the center of the circle (0,0,0) and any point on it, say ( x_0 ,y_0,z) , is equal to the radius 2m, hence

\sqrt{x_0^2+y_0^2+z^2}=2m

which gives

z=\sqrt{(2m)^2-x_0^2-y_0^2}

for the Z coordinate.
 
cheers, solved it 5 mins after posting, using a similar method, think long nights with early mornings make me a little slow!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top