00:01
Hello students, the smallest decimal number that can be represented with the three bit is zero.
00:08
Smallest, smallest decimal with the three bits is, three bits is zero.
00:17
And the largest decimal, the largest, the largest decimal with the three bits is, it is the seven, it is the seven.
00:30
So the next is to represent the positive, negative and the zero value alike in a binary without using a minus symbol.
00:39
One common method we can use is the two's complement.
00:43
It is the two's complement, two's complement representation.
00:51
So in the two's complement representation, the most significant bit that is msb.
00:58
Msb represents the sign of the number with the zero indicating the positive and one, in msb zero as the positive and one as the negative, one indicating the negative.
01:15
The remaining bit represents the magnitude of the number to convert the positive number to its two's complement representation.
01:24
So you can simply leave the msb as zero and represents the magnitude as usual.
01:30
For negative, you can first take the absolute value of the number, then find the binary representation of that magnitude and finally invert all the bits, changing zero to one and one to zero.
01:42
So after obtaining the inverted representation, you add one to it.
01:47
So this way the positive and negative can be represented using the zeros and ones.
01:53
So the binary string translates to axi text answer that is for this, it is the 42, has provided the axi code, axi text.
02:11
It is, it is, the answer is 42.
02:15
It is the 42.
02:17
So the algorithm to make the coffee with the robot, we will discuss it in a later part...