Moving center of coordinates in the polar graph

  • #1
ektov_konstantin
5
0
TL;DR Summary
Please, check if made a mistake. I get bad result but can`t understand where is my mistake
I have a function in polar coordinates:

t (rho, phi) = H^2 / (H^2 + rho^2) (1)

I have moved the center to the right and want to get the new formulae.

I use cartesian coordinates to simplify the transformation (L = 232.5).

rho^2 = (x')^2+(y')^2
x' = x-L (2)
y' = y

Then I substitute expression (2) into (1) and go back to the polar coordinates (using x=rho*cos(phi) and y=rho*sin(phi) ). The result is:

t (rho, phi) = H^2 / (H^2 + rho^2 - 2 * rho * L * cos(phi) )**2 (3)

The first picture is for (1) function.

The second picture is for (3).
 

Attachments

  • изображение_2021-11-07_201307.png
    изображение_2021-11-07_201307.png
    14.6 KB · Views: 52
  • изображение_2021-11-07_202150.png
    изображение_2021-11-07_202150.png
    14.9 KB · Views: 44

Answers and Replies

  • #2
36,685
8,680
Summary:: Please, check if made a mistake. I get bad result but can`t understand where is my mistake

I have a function in polar coordinates:

t (rho, phi) = H^2 / (H^2 + rho^2) (1)
Or as a bit more readable,
$$t(\rho, \phi) = \frac{H^2}{H^2 + \rho^2}$$
If you click what I wrote above, you can see my LaTeX script. There's more information about LaTeX in the LaTeX Guide line at the lower left of the input pane.
ektov_konstantin said:
I have moved the center to the right and want to get the new formulae.

I use cartesian coordinates to simplify the transformation (L = 232.5).

rho^2 = (x')^2+(y')^2
x' = x-L (2)
y' = y

Then I substitute expression (2) into (1) and go back to the polar coordinates (using x=rho*cos(phi) and y=rho*sin(phi) ). The result is:

t (rho, phi) = H^2 / (H^2 + rho^2 - 2 * rho * L * cos(phi) )**2 (3)
It looks to me like you are omitting the ##L^2## term in the denominator. After the substitution -- in equation (2) -- I get this:
$$t(\rho, \phi) = \frac{H^2}{H^2 + (x - L)^2 + y^2} = \frac{H^2}{H^2 + x^2 - 2Lx + L^2 + y^2} $$
$$ = \frac{H^2}{H^2 +\rho^2 - 2L\rho\cos(\phi) + L^2}$$
ektov_konstantin said:
The first picture is for (1) function.

The second picture is for (3).
Does my change make a difference?
 
  • #3
ektov_konstantin
5
0
Or as a bit more readable,
$$t(\rho, \phi) = \frac{H^2}{H^2 + \rho^2}$$
If you click what I wrote above, you can see my LaTeX script. There's more information about LaTeX in the LaTeX Guide line at the lower left of the input pane.
It looks to me like you are omitting the ##L^2## term in the denominator. After the substitution -- in equation (2) -- I get this:
$$t(\rho, \phi) = \frac{H^2}{H^2 + (x - L)^2 + y^2} = \frac{H^2}{H^2 + x^2 - 2Lx + L^2 + y^2} $$
$$ = \frac{H^2}{H^2 +\rho^2 - 2L\rho\cos(\phi) + L^2}$$

Does my change make a difference?
Yes. I made such a stupid mistake. Thanks for advise about LaTeX
 

Suggested for: Moving center of coordinates in the polar graph

  • Last Post
Replies
10
Views
828
  • Last Post
Replies
0
Views
465
Replies
10
Views
585
Replies
1
Views
1K
Replies
13
Views
1K
Replies
8
Views
691
Replies
3
Views
1K
  • Last Post
Replies
3
Views
692
Replies
7
Views
729
Top