|
|
clipka <ano### [at] anonymousorg> wrote:
> Can you give an example?
I'll try. It's something I'm exploring, so I'm no expert.
But there seemed to be a lot of RHO's being used, and when I thought about an
easy way to do certain things, having a third changing variable seemed like it
would be useful, and I wasn't sure how else I'd go about it.
x = ρcos(θ)sin(Φ)
y = ρsin(θ)sin(Φ)
z = ρcos(Φ)
http://www.microscopy-uk.org.uk/mag/imgjan06/Image13.jpg
ρ = sqrt(x^2+y^2+z^2), tan(θ) = y/x, tan(Φ) = sqrt(x^2+y^2)/z
r = ρ sin Φ, θ = θ, z = ρ cos Φ
ρ = sqrt(r^2+z^2), θ = θ, tan(θ) = r/z
ρ = 1 + 1/5*sin(6θ)*sin(5Φ)
r = rho.*sin(theta);
x = r.*cos(phi);
y = r.*sin(phi);
z = rho.*cos(theta);
Post a reply to this message
|
|