I'm new to Python and I would like to get 1000 of parameters that satisfy a given equation.
More precisely, below is the equation of the sphere, assume the position of the sphere center(x0, y0, z0)
and its radius are both given.
(x - x0)^2 + (y - y0)^2 + (z - z0)^2 = radius^2
How could I randomly generate a number of (x, y, z)
that satisfy the sphere equation in python?
Thanks a lot!