How To Calculate Magnetic Moment