Posts

How to deduce Green's formulas from Gauss-Green's theorem?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite Gauss-Green Theorem Gauss-Green Green's Formulas Green What I'm trying to do is to demonstrate that all Green's formulas follow from the Gauss-Green theorem, which are all given above. I am aware of that the process would be similar to integration by parts in 1-dimension, but the format of these formulas still seem different. So I'm still stucked at where to start the integration, what should be the u and what should be the dv of the process of integration by parts, or I'm totally at the wrong track. Could anyone please give me a hint? Thanks in advance! greens-theorem share | cite | improve this question edited Jul 26 at 13:19 Bernard 110k 6 35 102 asked Jul 26 at 11:43 Evelyn Venne 14 3 add a comment  |  up vote 0 down vote favorite Gauss-Green Theorem Gauss-Green Green's Formulas Green What I'm trying to do is to demons...

Why subtract $pi$ in the definition of atan2?

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite Looking here the definition of the atan2 function is as follows: $$operatorname atan2 (y,x)= begincases arctan(frac yx) & textif x>0,\ arctan(frac yx)+pi & textif x<0text and ygeq 0,\ arctan(frac yx)-pi & textif x<0text and y<0,\ +frac pi2 & textif x=0text and y>0,\ -frac pi 2 & textif x=0text andy<0,\ textundefined & textif x=0text and y=0. endcases$$ This looks wrong to me. Or at least, not wrong but rather there seems to be a small issue with it. My Reasoning I was trying to figure out a function (like $atan2$) that would solve the problem of the $arctan$ function. This is because I am writing a Python function to find the complex argument of a complex number, given real and imaginary part. Here is my reasoning: Given a non-negative tangent value, this is mapped by the arctan only in the range $left[0, fracpi2right)$. Given a non-positive tangent value, this is ma...