chchanged value of v, tEnd, and dt.