I have A function Func(x)
which returns a complex number.
And I need to calculate Integral of I/Func(E^(I*x))
where x is from Pi/3
to Pi/2
.
How can i do that in Java
?
I have A function Func(x)
which returns a complex number.
And I need to calculate Integral of I/Func(E^(I*x))
where x is from Pi/3
to Pi/2
.
How can i do that in Java
?
Apache Commons library provide a good support for handling complex numbers. Have a look at - Apache commons complex