im doing a simulation on a magnetic moment in a magnetic field B and I am quite stuck.
its a set of coupled equations: m'-x=B*m-y & m'-y= - B*m-x
where m-x is the x component, ' is rate of with respect to time etc.
the vector should be precessing in a circle with frequency w= - B, B is set...