1
$\begingroup$

I want to convolute my equation with Gaussian function.I used following code for it but it does not give the output? How do I correct it

 μ = 0; σ = 0.033;
 Eg = 0.52; Eb = 0.070
 h3 = Convolve[1/(E^((x - μ)^2/(2*σ^2))*(Sqrt[2*Pi]*σ)), 
     (2*Pi* Eb^0.5*UnitStep[x - Eg])/(1 - Exp[(-2*Pi)*(Eb/(x - Eg))^0.5]), x, y]
 g = Plot[h3, {y, 0, 1.8}, PlotRange -> All]
$\endgroup$
  • 3
    $\begingroup$ It appears that Mathematica cannot perform the integral symbolically. Do you have reason to believe that a symbolic solution exists? $\endgroup$ – bbgodfrey Nov 29 '18 at 0:00
  • $\begingroup$ The "x"should be greater than X.How should I define it? Could you tell me? $\endgroup$ – Tharaka Dec 3 '18 at 1:41
  • $\begingroup$ Include the option, Assumptions -> x > X. $\endgroup$ – bbgodfrey Dec 3 '18 at 1:48
  • $\begingroup$ Do I need to input it as a separate input ? $\endgroup$ – Tharaka Dec 3 '18 at 1:51
  • $\begingroup$ It is an option for Convolve. For instance, use Convolve[1/(E^((x - μ)^2/(2*σ^2))*(Sqrt[2*Pi]*σ)), ((2*Pi* Eb^0.5*UnitStep[x - Eg])/(1 - Exp[(-2*Pi)*(Eb/(x - Eg))^0.5]), x, y, Assumptions -> x > X]. Whether doing so will help obtain a solution seems unlikely to me.. $\endgroup$ – bbgodfrey Dec 3 '18 at 1:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.