We have a function as
e[t_] :=(E^(-t^2)) Cos[0.1 t]
and we must evaluate below integration (However I used the variable x
here, I just want to calculate the integration and x
is a local variable)
a[t_] := Integrate[e[x], {x, 0, t}]
the final results is a[t]
. That it will be of the form:
(0. + 2.91163*10^-40 I) (1. Erfi[9.68227 - (0. + 0.00294353 I) t] - 1. Erfi[9.68227 + (0. + 0.00294353 I) t])
As it shown, in this result, Error function will appear.
But we have to use of a[t]
in next our calculation. Actually, we have to evaluate the p[t_, \[Tau]_]:=Integrate[a[x],{x,t-\[Tau],t}]
.
For this reason we should have a more clear form of a[t]
In which there should be no error function. How can we receive the a[t]
in the absence of Error function? Are there any way to get rid of it?