0

Here is my code:

enter image description here

The problem is that I always see these messages every time I run it

enter image description here

They always say " something has evaluated to a non-numerical values of all sample points in the region"

I try to add ?NumericQ in my function but it seems that I still get same errors.

I am entirely new to Mathematica. I hopes someone could help me. Thank you in advance.

Hui
  • 1
  • 1
  • Try to create a function myFun[t_?NumberQ] := Exp[ ... ] * Sqrt[ ... ] and then do Im[NIntegrate[myFun[t], {t,0,Temp}]. And please don't copy screenshots of code. – Rolf Mertig Nov 29 '20 at 18:14
  • 7
    Please edit your question to include your actual code. Convert input cells to InputForm prior to copy and paste. – Bob Hanlon Nov 29 '20 at 18:14
  • One of the issues might be how you defined your functions. See https://mathematica.stackexchange.com/questions/18393/what-are-the-most-common-pitfalls-awaiting-new-users/26037#26037 – Michael E2 Nov 29 '20 at 22:55

0 Answers0