I have been trying to solve the following integral
$$\frac{1}{60} \int_0^{300} e^{- \left(\frac{x}{60} \right)} \cdot e^{\left(\frac{x-300}{240} \right)^{1.03}}dx$$
I have tried solving by parts as well numerical methods such as the trapezoid rule and Simpson's rule. However, I'm finding that when it comes to the $e^{(\frac{x-300}{240})^{1.03}}$ portion of the equation, when $x=0$ I keep generating a result involving complex numbers because of the $(\cdot)^{1.03}$. I have been told the result is $\approx 0.4310$ though.
Any help much appreicated
I think that you are totally correct, since for any non integer value of $a$, the integrand is a complex number (plot the real and imaginary parts of the function corresponding to the integrand over the range of integration).
Let us forget the constant term and focus on $$e^{-\frac{x}{60}}\,e^{(\frac{x-300}{240})^{1+\epsilon}}$$ and develop as a Taylor series around $\epsilon=0$; the result would be $$f=e^{-\frac{x+20}{80}}-\frac{1}{240} \left(e^{-\frac{x+20}{80}} (x-300) (\log (240)-\log (x-300))\right)\epsilon+O\left(\epsilon ^2\right)$$ You could check easily that this is a good approximation of both real an imaginary parts.
Now, if you integrate the above expansion, using special functions, you should get for $\int f\, dx$ $$-80e^{-\frac{x+20}{80}}+\frac{80 }{3 e^5}\text{Ei}\left(\frac{300-x}{80}\right)-\frac{1}{3} e^{-\frac{x+20}{80}} \left((x-220) \log \left(\frac{x-300}{240}\right)+80\right)\epsilon+O\left(\epsilon ^2\right)$$ where appears the exponential integral function.
Here no problem except with the logarithm which leads to complex numbers.