I tried to write code using this formula.
public static Complex reverstrans(double U, double anguarFrequency, double T) { NumericalIntegration integration = new NumericalIntegration(); return (1 / (2 * Math.PI)) * integration.Calculate(w => Math.Cos(GetSpectralDensityOfAmplitude(GetSpectralDensity(U, angularFrequency, T))), 0, T) + Complex.ImaginaryOne * (1 / (2 * Math.PI)) * integration.Calculate(w => Math.Sin(GetSpectralDensityOfAmplitude(GetSpectralDensity(U, angularFrequency, T))), 0, T); } I want to build a graph using the reverstrans method, but I swear by the implicit transformation of Complex and double
PointPairList list = new PointPairList(); for (double fr = xmin; fr <= xmax; fr += shag) { double angularFrequency = 2 * Math.PI * fr; list.Add(angularFrequency, reverstrans(U, anguarFrequency, T)); } 

(fr, reverstrans(U,anguarFrequency,T)), i.e. type(x,y), if I understood correctly. At the same time, yourydoes not depend onx(frnot an argument ofreverstrans). Why do you need to callreverstransin a loopreverstrans? - i-onez(x)in the axes(x,y), then, if I'm not mistaken, you usually take either the real part (Re(z)) or the module (|z|), depending on the physical meaning. - i-one