4
this isn't the fact that the binary number 11 will have decimal equivalent 11... instead it have decimal number 1011 for decimal equivalant 11.here is the alogorithms for converting the decimal number to binary equivalent...!!!#include#includevoid main(){ int i,n,j,b[100];clrscr();printf("Enter a Number:");scanf("%d",&n);i=0;while(n>0){b[i]=n%2;n=n/2;i++;}printf("\n\nBinary Equivalent:");j=i-1;for(i=j;j>=0;j--)printf("%d",b[j]);getch();}using this algorithms... the binary equivalent of any number is taken out...!!! enjoy... have any query... email at :- "devilllcreature@yahoo.com" thank you....!!!
First lets start with some basic concepts. We normall use base 10 (0 through 9); Binary or Base 2 uses 1's and 0's. In base 10 the place values are based on 10 ( ie 14 means one set of 10 + 4); in binary the place values are based on 2. 2 would be represented as 10 in binary, 4 would be represented as 100 in binary, 5 would be represented as 101 in binary. Applying this to 14 results in one set of 8 + one set of 4 plus one set of 2, which gives us 1110 which is 14 in binary.
55. 101 in binary is 5. there is a shortcut in getting the equivalent in binary. 421 if it is 1, then it's 001. if it is 2, then it's 010. if it is 3, then it's 011. if it is 4, then it's 100. if it is 5, then it's 101. see? you just have to add the numbers that you need. you'll write 1 when you used the number that is needed and 0 when not.
You can put it into a fraction. Just divide the number by 100. 8.37=837/100.
4
4
35.6 (base 10) = 100 011.1001 1001 1001 (recurring) in binary.
100000000. It's decimal equivalent is 256.
100
If we are using base 8 then 127 = (7 * 80) + (2 * 81) + (1 * 82) = 7 + 16 + 64 = 87 [i.e. (7 * 100) + (8 * 101)] in the decimal (base 10) system. In binary (base 2) we would write this as:1010111.
Normally we use base 10 meaning 14 means 1 set of 10 plus 4. In binary we use a base 2 (0 and 1) instead. For example the base 10 number 2 would be represented in binary as 10. 3 would be represented as 11. 4 would be represented as 100 and so on. Applying this to 14 is simple if you know the basic concepts. 14 is equivalent to 1 set of 8 + 1 set of 4 + 1 set of 2. Therefore 14 is equivalent to 1110 in binary.
Decimal 4 is binary 100.
Binary 100 is 4 in decimal.
If you want to know what one zero zero (100)(base 2) equals in base-10, then it is 1 * 2^2 + 0 * 2^1 + 0 * 2^0 = four (4) base 10. If you want to know what one hundred (100)(base 10) is in binary. Then 10010 = 64 + 32 + 4, or 11001002
A binary number is a number in base 2. All numbers are composed of two digits, 0 and 1.So:zero is 0,one is 1,two is 10,three is 11,four is 100 and so on.
If you want to know what one zero zero (100)(base 2) equals in base-10, then it is 1 * 2^2 + 0 * 2^1 + 0 * 2^0 = four (4) base 10. If you want to know what one hundred (100)(base 10) is in binary. Then 10010 = 64 + 32 + 4, or 11001002