solve 200*sin(w*t)=100*sin(w*t+Pi/6)+50*sin(w*t-Pi/4)+A*sin(w*t+p) for A