I'm trying to run the following input -- but maxima hangs... facts(); assume(a0>0); assume(a1>0); assume(a2>0); assume(a3>0); v(t):=a1*t+a2*t^2+a3*t^3; rest(t):=(sin(2*3.1415926*1e6*t)-v(t))^2; integrate(rest(t), t); Anybody got any clue? Thanks Peter