Answer:
[tex]126_{10}=1111110_2[/tex]
Explanation:
In order to get this convertion done, we have to divide by two the decimal number, take note of the quotient and reminder, then divide the result by two until the result of the division is zero.
[tex]126| 2[/tex]
[tex]quotient_1=63\\remainder_1=0[/tex]
[tex]63| 2[/tex]
[tex]quotient_2=31\\remainder_2=1[/tex]
[tex]31| 2[/tex]
[tex]quotient_3=15\\remainder_3=1[/tex]
[tex]15| 2[/tex]
[tex]quotient_4=7\\remainder_4=1[/tex]
[tex]7| 2[/tex]
[tex]quotient_5=3\\remainder_5=1[/tex]
[tex]3| 2[/tex]
[tex]quotient_6=1\\remainder_6=1[/tex]
[tex]1| 2[/tex]
[tex]quotient_7=0\\remainder_7=1[/tex]
Now the last remainder is the most significant bit, and the first remainder the least significative, so:
[tex]126_{10}=1111110_2[/tex]