Torque is like an |cosx| graph while Force is a constant (straight line)?
Teacher says that force is the same as the torque graph but shouldn't it be constant as the wire will always be perpendicular to the magnetic field no matter how it turns?
I think you're getting Torque and Force mixed up. Force acts only in one direction, in this case, there are two forces acting in opposite directions in opposite sides of the rotor. Torque is the
rate of change in force.
Force is not constant. Using the right hand palm rule (or Lorentz Force Law), you can tell that force is max when the wire is perpendicular to the magnetic field. Hence we have the formula F=nBIlsin(theta), which will create a sine curve in respect to time.
As for torque, since it is the
change in force, its graph will be the
derivative of the force graph, hence it is a cos curve (NO absolute values sign). Torque is max when the wire is parallel to the magnetic field, and is zero when perpendicular. If you want to make sure, just use the formula T=nBIAcos(theta). Anything with cos or sin in it is not constant when the angle changes.
In short, the torque of the rotor is not constant, and so neither will the force. Either you've misheard your teacher, or your teacher's wrong.