@@frexo. Once we obtain a 1 at the end, we should stop and include that 1 as the first digit of the binary conversion. Additionally, just to clarify, it should be "2 ones are 2" instead of '2 one za 2."
It will get the correct answer either way.... I don't know how u did ... May be u missed something.. I'll try to make u get this So (0111010101)10 Let's start counting from right to left start with 0 So it will be upto power 9 0*2^9 +1*2^8 + 1*2^7 + 1*2^6 + 0*2^5 +1*2^4 +0*2^3 + 1*2^2 +0*2^1 + 1*2^0 == 0+256+128+64+0+16+0+4+0+1 == 469 Decimal to binary (469)10 2(469)-1 2(234)-0 2(117)-1 2(58)-0 2(29)-1 2(14)-0 2(7)-1 2(3)-1 2(1)-1 2(0)-0 So we go from bottom to top reminders we count 111010101
Sir please continue Python topics every day, do not skip a day.
2 / 158 = 0
2/ 79 = 1
2/39 = 1
2/19 = 1
2/9 = 1
2/4 = 0
2/2 = 0
2/1 = 1
1*1+1*2+1*16+1*32 = 51
1} = 10011110
2} = 51
Cheers , great content
second one is 99 i think
no no mb
158/2 = 79 (0)
79/2 = 39 (1)
39/2 = 19 (1)
19/2 = 9 (1)
9/2 = 4 (1)
4/2 = 2 (0)
2/2 = 1 (0)
1/2 = 0 (1)
Ans. for 1 = 10011110 base 2
2. 110011 = 1 x 2^5 + 1 x 2^4 + 1 x 2^1 + 1 x 2^0
= 32 + 16 + 2 + 1
= 51 base 10
bro how can it be 51 base 10 it is 50 base 10
@@bharathkumarreddykollamora5065it's 51
home work answers:
158 the binary would be : 10011110
110011 the decimal would be : 51
50
No answer is 51@@sufinakhatoon6852
Answer for 1st is (10011110)
Answer for 2nd is (51) base 10
Thank you Neso Academy for the lectures🙂
thanks a lot what about hexadecimal
(10011110) and 51
Thank you so much sir😊😊
The answers are- 1-10011110
2-51
(158)10 = (10011110)2
(110011)2 = (51)10
Sir please explain read and write in python ❤❤❤❤
My answer is correct🎉
Thank you sir
Please release daily
Is this the last video in the Python coding series??
How do you end up with 0 after dividing 1 by 2 ?
When you do 2 one za 2, then put 2 and in the last put 0.
@@frexo. Once we obtain a 1 at the end, we should stop and include that 1 as the first digit of the binary conversion.
Additionally, just to clarify, it should be "2 ones are 2" instead of '2 one za 2."
😂
I
(158)=(10011110)
(11001)=(51)
Convert (0111010101) base 2 to decimal and then to binary again the answer is not matching to the former binary number (0111010101) base 2.
It will get the correct answer either way....
I don't know how u did ... May be u missed something..
I'll try to make u get this
So (0111010101)10
Let's start counting from right to left start with 0
So it will be upto power 9
0*2^9 +1*2^8 + 1*2^7 + 1*2^6 + 0*2^5 +1*2^4 +0*2^3 + 1*2^2 +0*2^1 + 1*2^0
== 0+256+128+64+0+16+0+4+0+1
== 469
Decimal to binary
(469)10
2(469)-1
2(234)-0
2(117)-1
2(58)-0
2(29)-1
2(14)-0
2(7)-1
2(3)-1
2(1)-1
2(0)-0
So we go from bottom to top reminders we count
111010101
If it's wrong please let me know...
I'll learn thank you
Sir please continue C++ series 😢😢😢
51 base 10
10:12
158 = 10011110
110011 = 51
I build different sir
Remainder kese nikla
first one = 10011110
second one=51
J
YOU Talk TOOOOO MUCH, JUST DO IT ABEG..