I am creating a user defined function f[t_] := where I am evaluating an integral in the body of the function without any issues. I can subsequently evaluate the user function f[t] and obtain the correct answer. However, when I plot the expression using the Plot[ ] function, I get a number of errors - see attached notebook. For simplicity, I have omitted the constant from the indefinite integral.
My best guess is that there is some extra data being created in the integrate function that creating problems in the plot function. However, I do not know what it is, how to identify it and how to remove it. Again this problem is most likely because I don't understand the functions so please point me in the correct direction.
Thanks,
Mitch Sandlin