- #1
roam
- 1,271
- 12
- Homework Statement
- When I try to plot the following function I encounter jump discontinuities that should not exist according to various papers. What is the cause of the problem?
- Relevant Equations
- I am trying to plot the function:
$$\Theta=\pi+\varphi+\text{atan}\left(\frac{r\sin\varphi}{\tau-r\cos\varphi}\right)+\text{atan}\left(\frac{r\tau\sin\varphi}{1-r\tau\cos\varphi}\right).$$
for the three cases where ##r=\tau##, ##r<\tau##, and ##r>\tau##. My problem is with the latter case.
Here is a picture of these plots from a paper:
When I try to reproduce the 3rd graph above (yellow line below), I get sharp discontinuities:
Those jump discontinuities should not occur, and the function should never rise to the high value of the two other plots. So, what could be the cause of this problem?
Any suggestions would be appreciated.
When I try to reproduce the 3rd graph above (yellow line below), I get sharp discontinuities:
Those jump discontinuities should not occur, and the function should never rise to the high value of the two other plots. So, what could be the cause of this problem?
Any suggestions would be appreciated.