With ``schint'' generalized, you can switch quickly from inward to outward integration by changing a single line in ``func_Schrodinger''
k1=0; k2=N; /* Outward integration */ k1=N; k2=0; /* Inward integration */
Have both of these lines (one commented out) ready to run when you come to lab.