A muscle cramp is a sudden, intense, involuntary, and transient contraction of part or all of a musc…