Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Complex result after integration of real variable?
Posted Dec 23, 2015, 10:02 a.m. EST 2 Replies
Please login with a confirmed email address before reporting spam
Hello everyone,
I have an electrical problem similar to a parallel plate capacitor. After solving for V, if I carry out a line integral from one electrode to the other I get the potential difference between the electrodes, as expected.
However, if I integrate V*rect1(z) instead of just V (where rect1(z) is a rectangular function that selects only a certain range of z for the integration), I get a complex number as a result. As far as I can see, the real part of the result is what I expect, but the inclusion of an imaginary component in the result bothers me.
After some tests, I see that I also get complex results if I carry out a volume integral of the voltage (not that I need that, just wanted to see what happens).
Why am I getting complex results if I am integrating a real variable?
Thank you for your help.
I have an electrical problem similar to a parallel plate capacitor. After solving for V, if I carry out a line integral from one electrode to the other I get the potential difference between the electrodes, as expected.
However, if I integrate V*rect1(z) instead of just V (where rect1(z) is a rectangular function that selects only a certain range of z for the integration), I get a complex number as a result. As far as I can see, the real part of the result is what I expect, but the inclusion of an imaginary component in the result bothers me.
After some tests, I see that I also get complex results if I carry out a volume integral of the voltage (not that I need that, just wanted to see what happens).
Why am I getting complex results if I am integrating a real variable?
Thank you for your help.
2 Replies Last Post Jan 8, 2016, 4:42 a.m. EST