Discrete Math - Counting Theory

AI Thread Summary
The discussion centers on calculating the number of hexadecimal numbers between 30 and AF. The conversion of hexadecimal 30 to decimal is 48, while AF converts to 175, resulting in 126 hexadecimal numbers between them. A comparison is made with another example involving 50 and FF, where the calculation yields 174 numbers. The confusion arises from whether to include the endpoints in the count, leading to different totals. Ultimately, the correct understanding emphasizes the importance of endpoint inclusion in counting hexadecimal numbers.
sjaguar13
Messages
49
Reaction score
0
Hexadecimal numbers are made using the sixteen digits 0 - 9, A-F. how many hexadecimal numbers are there between the hexadecimal numbers 30 and AF?

There are 8 numbers between 3 and A, so I got 3 x 16, but I don't really know.
 
Physics news on Phys.org
Try converting AF to a base 10 number.

How many numbers are between 30 and this number?
 
30 = 48
AF = 175

126 numbers between

However, the example in the book is 50 and FF and the solution is, 5 and F is 11 numbers away. There are 16 hexadecimal numbers, so there are 11 x 16 hexadecimal numbers.
50 = 80
FF = 255
That comes out to be 174 numbers. That's not 11 x 16.
 
sjaguar13 said:
30 = 48
AF = 175

126 numbers between

However, the example in the book is 50 and FF and the solution is, 5 and F is 11 numbers away. There are 16 hexadecimal numbers, so there are 11 x 16 hexadecimal numbers.
50 = 80
FF = 255
That comes out to be 174 numbers. That's not 11 x 16.

176 includes 50 and FF. 174 excludes 50 and FF.
128 inculdes 30 and AF. 126 excludes 30 and AF. (In your original post you said 3x16, I think you meant 8x16. Also, thanks for catching my mistake, I forgot that 30 was also a hexidecimal number.)
 
Last edited:
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Thread 'A bead-mass oscillatory system problem'
I can't figure out how to find the velocity of the particle at 37 degrees. Basically the bead moves with velocity towards right let's call it v1. The particle moves with some velocity v2. In frame of the bead, the particle is performing circular motion. So v of particle wrt bead would be perpendicular to the string. But how would I find the velocity of particle in ground frame? I tried using vectors to figure it out and the angle is coming out to be extremely long. One equation is by work...
Back
Top