I have a Parametric Equation for a Cone:(adsbygoogle = window.adsbygoogle || []).push({});

x=u

y=cos(v)*a*(u-h)/h

z=sin(v)*a*(u-h)/h

where:

h is height of the cone

a is the Radius of the Base

u goes from 0 to h

v goes from 0 to 2*pi

This cone lies on the x-axis. I need it to lie on the theta and phi axis. This is what I came up with to transform it:

|x1| |cos(theta)*cos(phi) sin(phi) sin(theta)*cos(phi) | |x|

|y1| = |sin(theta)*cos(phi) cos(theta)*cos(phi) sin(phi) | = |y|

|z1| |sin(phi) sin(theta)*cos(phi) cos(theta)*cos(phi)| |z|

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Transformation Matrix from x-axis

**Physics Forums | Science Articles, Homework Help, Discussion**