https://s0.wp.com/latex.php?latex=%7B%5Cdisplaystyle+%5Cpsi%28t%29+%3D+%5Cbegin%7Bcases%7D+1+%5Cquad+%26%5Ctext%7Bif+%7D+%5Cphi+%282%5Ent-1%29+%3E+q_n+%5C%5C+0+%5Cquad+%26%5Ctext%7Bif+%7D+%5Cphi+%282%5En+t-1%29%5Cle+q_n%5Cend%7Bcases%7D%7D&bg=ffffff&fg=000000&s=0&c=20201002