Question: Why does this integral evaluate to infinity but plot a real value?

The third execution of procedure TP returns infinity but it has a real value in the integral's plot. Why is this?

Int_Question.mw

Please Wait...