Wednesday

How to plot a 3D sphere using Google search?

The equation for a 3D sphere with centre (cx,cy,cz)=(0, 0, 0) and radius r=1 is:

(x - cx)^2 + (y - cy)^2 + (z - cz)^2 = r^2
x^2 + y^2 + z^2 = 1
z^2 = 1 - x^2 - y^2
z = sqrt(1 - x^2 - y^2)

Input "sqrt(1-x^2-y^2)*cos(1000(1-x^2-y^2)), x is from -2 to 2, y is from -2 to 2, z is from -2 to 2" to the Google search box.

You will get the following 3D sphere:

No comments:

Fire survival tips

1 Stop, drop, cover and roll  If your clothes catch fire stop, drop, cover your face with your hands and roll to smother the flames. 2 Get d...