The contraction produced can be described as a twitch, summation, or tetanus, depending on the frequency of action potentials. In skeletal muscles, muscle tension is at its greatest when the muscle is stretched to an intermediate length as described by the length-tension relationship. Smooth and cardiac muscle contractions are myogenic and can be modulated by the autonomic nervous system.