sketos
- 55
- 0
I very new to python and this might look relatively easy to some of you. I need to write a code so that
[tex]H(a,u) = \frac{a}{\pi} \int_{-\infty}^{\infty} \frac{e^{-y^2}}{a^2+(u-y)^2}dy[/tex]
it plots the above function for different values of the a parameter, so that ultimately i will have a graph of 3 or more function of the form [itex]H(a_1,u)[/itex], [itex]H(a_2,u)[/itex], [itex]H(a_3,u)[/itex] as functions of u. Can anyone provide a code ?
[tex]H(a,u) = \frac{a}{\pi} \int_{-\infty}^{\infty} \frac{e^{-y^2}}{a^2+(u-y)^2}dy[/tex]
it plots the above function for different values of the a parameter, so that ultimately i will have a graph of 3 or more function of the form [itex]H(a_1,u)[/itex], [itex]H(a_2,u)[/itex], [itex]H(a_3,u)[/itex] as functions of u. Can anyone provide a code ?