I was evaluating a function with Mathematica 7 and found that using
Integrate and NIntegrate gives me two different answers. I'm not sure which
one to trust. This is the code I use:
phi = Cosh[Z*s]-Cos[Z*s]+(Sin[Z*s]-Sinh[Z*s])*(Cosh[Z]+Cos[Z])/(Sin[Z]+Sinh[Z]
The first one gives an answer of -17.3646 and the second one gives -1.12795.
Which one is correct? If someone could help me figure this one out, it would