Dear Student
To find the order of magnitude the value of the physical quantity is expressed as a x 10 b where 1 ≤ a < 10 and b is a positive or a negative integer. The exponent of 10, here it is b, is called of the order of magnitude. To compare the physical quantities we must express them in proper units.
4000 can be expressed as 4 x 103 .
So order of magnitude is 3.
Regards