Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5839919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:39:39+00:00 2026-05-22T11:39:39+00:00

We get some expression in Cylindrical coordinates (r, ϕ, z ) like : expr

  • 0

We get some expression in Cylindrical coordinates (r, ϕ, z ) like : expr := r*z^2*sin((1/3)*ϕ) we need to convert it into Cartesian coordinates and than back to Cylindrical coordinates. How to do such thing?

So I found something like this : eval(expr, {r = sqrt(x^2+y^2), z = z,ϕ= arctan(y, x)}) but it seems incorrect, how to correct it and how make eval to convert backwords from Cartesian to Cylindrical?

ϕ == ϕ

So I try:

R := 1; 

H := h; 

sigma[0] := sig0;

sigma := sigma[0]*z^2*sin((1/3)*`ϕ`);

toCar := eval(sigma, {r = sqrt(x^2+y^2), z = z, `ϕ` = arctan(y, x)});

toCyl := collect(eval(toCar, {x = r*cos(`ϕ`), y = r*sin(`ϕ`), z = z}), `ϕ`)

It looks close to true but look: enter image description here

why arctan(r*sin(ϕ), r*cos(ϕ)) is not shown as ϕ?

Actually it is only begining of fun time for me because I also need to calculate

Q := int(int(int(toCar, x = 0 .. r), y = 0 .. 2*Pi), z = 0 .. H)

and to get it back into Cylindrical coordinates…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T11:39:40+00:00Added an answer on May 22, 2026 at 11:39 am
    simplify(toCyl) assuming r>=0, `&varphi;`<=Pi, `&varphi;`>-Pi;
    

    Notice,

    arctan(sin(Pi/4),cos(Pi/4));
                              1   
                              - Pi
                              4   
    
    arctan(sin(Pi/4 + 10*Pi),cos(Pi/4 + 10*Pi));
                              1   
                              - Pi
                              4   
    
    arctan(sin(-7*Pi/4),cos(-7*Pi/4));
                              1   
                              - Pi
                              4   
    
    arctan(sin(-15*Pi/4),cos(-15*Pi/4));
                              1   
                              - Pi
                              4   
    
    
    arctan(sin(-Pi),cos(-Pi));
                               Pi
    
    K:=arctan(r*sin(Pi/4),r*cos(Pi/4));
                          arctan(r, r)
    
    simplify(K) assuming r<0;
                               3   
                             - - Pi
                               4   
    
    simplify(K) assuming r>0;
                              1   
                              - Pi
                              4   
    

    Once you’ve converted from cylindrical to rectangular, any information about how many times the original angle” might have wrapped around (past -Pi) is lost.

    So you won’t recover the original &varphi; unless it was in (-Pi,Pi]. If you tell Maple that is the case (along with r>-0 so that it knows which half-plane), using assumptions, then it can simplify to what you’re expecting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a regular expression that matches some tags surrounded with square brackets. Nothing
I need to perform a regular expression search for a string x in another
I'm always fighting with regular expression, some help would be appreciated. What is the
I am in need of a regular expression that I can use to examine
I wrote up this regular expression: p = re.compile(r''' \[\[ #the first [[ [^:]*?
I'm new to regular expressions and can't get the hang of them. Can you
the basic syntax of switch statement in ruby is case expression when condition1 statements1
I'm writing a vbscript to pull some data from a webpage, strip out a
I'm debugging an application at a point where it uses a dialog box to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.