I'm very new to mathematica (I just started using it today), I was wondering if someone could explain to me what is wrong with the following piece of code:
NIntegrate[A*(eta^3)*(Exp[-3 N]/H)*gamma, {N, 0, 60}]
eta = 3.21+Erfi[Sqrt[N + 1/2]] - Erfi[Sqrt[1/2]]
H = Sqrt[1 + (2*N)]
and gamma = e^K for some unknown variable K
A, eta, H, and gamma (eta, gamma and H are all functions of N) have all been defined previously. eta contains the Erfi function, and mathematica doesn't seem to beable to solve this analytically, so i used the NIntegrate function instead.
However i get the following errors:
1: Nonatomic expression expected at position 1 in Append[NIntegrateStrategiesDumpprepOption,Method->GlobalAdaptive].
2: Append called with 3 arguments; 1 or 2 arguments are expected.
3: NIntegrate: Append[NIntegrateSymbolicPreprocessing,NIntegrateStrategiesDump`prepOption,Method->GlobalAdaptive] is not a valid specification of an integration strategy or rule.
I was wondering if someone could explain to me why this doesn't work?
thanks.

