Hi, I've got a worksheet to do for my homework. I answered the first question, and then an error message appeared in the part of the code written by the teacher. At the following part,
Normalisation and expectation values of the superposition state
Lets consider the normalisation of, say, the mixed state Psi represented by the superposition of 1st and 2nd levels at an arbitrary time t.
Error, (in int) integration range or variable must be specified in the second argument, got -I*t = -infinity .. infinity
I assume the error must be something to do with my code for exercise one because it appeared after my code.