Nuclear magnetic moments (along with electronic magnetic moments) precess (spin) when placed in an external magnetic field, B. The frequency…