im doing a simulation on a magnetic moment in a magnetic field B and im quite stuck.(adsbygoogle = window.adsbygoogle || []).push({});

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 to one so it should make one rotation in one second -> full cycle -> full sine wave, but i seem to only be getting about half a sine wave

the cosine term in the m'-y formula can be neglected, as can the m'-z and m-z columns because the starting point is M'= M X B (the cross product of the moment and the magnetic field) and B is defined as being in the z direction.

im pretty sure the equations are right and the problem lies in my formulae in excel, any help will be greatly appreciated:!!)

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Excel - help with eulers method on coupled equations

Loading...

Similar Threads for Excel help eulers | Date |
---|---|

Help with Excel graph please | Apr 9, 2018 |

Sumproduct help in Excel | Jun 12, 2016 |

Excel - linest function with blanks help | Feb 13, 2015 |

I need help with Excel | Dec 12, 2014 |

Help with MS Excel equation | May 27, 2014 |

**Physics Forums - The Fusion of Science and Community**