The formula for class width is
[tex]class\text{ width=}\frac{Maximumvalue−Minimumvalue}{n}[/tex]Where,
Minimum value = 13
Maximum value = 38
n = 4
[tex]class\text{ width=}\frac{38-13}{4}=\frac{25}{4}=6.25[/tex]Hence, the class width will be 7 since the next whole number after 6.25 is 7.