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
#include
void 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....!!!
5
Assuming you interpret the bits as an unsigned number, that would be 1111111111 in binary, or 1023 (210 - 1) in decimal.
In binary this would be written as 1011. This is because in binary (from right to left) the digits in this number mean: (1 * 20) + (1 * 21) + (0 * 22) + (1 * 23). This, of course, is equal to (1 * 1) + (1 * 2) + (0 * 4) + (1 * 8), which equals 1 + 2 + 0 + 8, which equals 11 (in decimal).
In binary, it would be 10111011
0.017 is a number which is given to 3 decimal places. The equivalent number, at four decimal places, is 0.0170 but any number in the interval (0.0165, 0.0175), when rounded to four decimal places would give 0.017 to three.
The number 256 in binary would be 100000000
5
The decimal equivalent would be 14
The binary equivalent would be... 1010101101011101 - There is a multi-functional calculator built-in to Windows which can covert numbers between Hex, Decimal, Octal and Binary.
The binary number 11.1 in decimal would be 3.5
In hexadecimal, that would be 0x2E, which is equivalent to 46 in decimal, which in binary is 101110.
The number 47 in binary would be 101111
It would be 10100.
That initial zero at the far left is unnecessary and it doesn't meant anything, but without it your binary would be 1010101 and your decimal would be 85.
The binary number 10 represents 2. The decimal number 10 in binary would be 1010.
IF you are asking what that binary number is in decimal form... it would be 7. The question though seems to be asking waht that decimal number is in binary. You want to know what 111 is in binary? 1101111. Try using google. "111 in binary" as a search phrase gives you the answer.
11 (decimal) would be written in binary as 1011