<jupyter_start><jupyter_text>Alternate Coordinate Geometrytodo \begin{align}x = r \ cos\theta \\y = r \ sin\theta\end{align}   Cylindrical Coordinates \begin{eqnarray}x &=& r \ cos\theta \\y &=& r \ sin\theta \\z &=& z \end{eqnarray}<jupyter_code>"""
Cylindrical Evaluation of an Orthonormal CS
Returns a Point relative to this CS given three cylindrical coordinates.
"""
def eval_cyl(self, radius, radians, z):
    pt = Point( radius * cos(radians), radius * sin(radians), z)
    return self.eval(pt)<jupyter_output><empty_output><jupyter_text>Spherical Coordinates \begin{eqnarray}x &=& \varrho \ sin\varphi \ cos\theta \\y &=& \varrho \ sin\varphi \ sin\theta \\z &=& \varrho \ cos\varphi \end{eqnarray}<jupyter_code>"""
Spherical Evaluation of an Orthonormal CS
Returns a Point relative to this CS given three spherical coordinates.
"""
def eval_sph(self, rho, phi, theta):
    x = rho * sin(phi) * cos(theta)
    y = rho * sin(phi) * sin(theta)
    z = rho * cos(phi)
    return self.eval(Point(x,y,z))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14657666345226616, 'fraction_numerical': 0.0, 'mean_word_length': 4.295918367346939, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '216543', 'license': 'MIT', 'n_tokens_mistral': 368, 'n_tokens_neox': 354, 'n_words': 99, 'path': '103 - Points, Vectors, and Coordinate Systems/109 - Alternate Coordinate Geometry.ipynb', 'repo_name': 'ksteinfe/decodes_ipynb', 'size': '1037'}