According to the diagram,
is the polar angle (the "vertical" angle made with the positive z-axis) and
is the azimuthal angle (the "horizontal" angle made with the positive x-axis), so the convention used here is to take
Then for the spherical point (1, π/4, π/2), we have the corresponding Cartesian point (x, y, z), where