How is the intensity of a stimulus generally encoded by the afferent neuron?

Answer

By the frequency of action potentials

The intensity of a stimulus is generally encoded by the frequency of the action potentials; a stronger stimulus causes the neuron to fire more rapidly.

How is the intensity of a stimulus generally encoded by the afferent neuron?
adaptationstimulusphysiologySensoryreceptor