MHB Determine the decimal values of the following unsigned numbers

  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Numbers
AI Thread Summary
The discussion focuses on converting unsigned numbers from octal and hexadecimal to decimal values. The user successfully converted (3751)8 to 2025 using the formula for base 8. However, confusion arises with converting (A25F)16 to decimal, particularly regarding the representation of the letter 'A' as 10 and the calculation steps. The correct conversion involves understanding that in hexadecimal, A-F represent decimal values 10-15, leading to the final decimal value of 41567. Clarification on the powers of 16 used in the conversion process helped resolve the user's confusion.
shamieh
Messages
538
Reaction score
0
Determine the decimal value of the following unsigned number.

So here was the first one I did. Which is easy. I completely understand this one.

(3751)8 = 2025
I know this because: $$1 + 5 * 8^1 + 7 * 8^2 + 3 * 8^3 = 2025.$$

But then they gave me this one.

b) (A25F)16. <-- They want me to determine the decimal value of the following unsigned number just as I did above, but I don't understand how they are getting their solution. Here is the solution they got..As you can see they did not write out all the steps so this is why I am confused. I want to know what's actually going on here. If anyone can clarify please help!

(A25F)16 = $$15 * 1+ 5 *16 + 2 * 162+ 10 * 163 = 41567$$

Where does the 15 come from? What is the power they are multiplying by? (Wait)

Here is another solution I found, if this helps.

(A25F)16 = $$10 * 4096 + 2 * 256 + 5 * 16 + 15 = 41567$$
 
Last edited:
Technology news on Phys.org
They should have written:

$$(\text{A25F})_{16}=15 \cdot16^0+5 \cdot16^1+2 \cdot16^2+10 \cdot16^3=41567$$

In base 16 (or hexadecimal) notation, the letters A-F represent the decimal values of 10-15 respectively. Those letters are chosen as the 6 extra characters used to represent all of the needed digits.
 
Awesome! Thanks Mark. I was staring at my screen for almost 30 minutes trying to figure out what was going on. :D
 
Thread 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
I am trying to run an .ipynb file and have installed Miniconda as well as created an environment as such -conda create -n <env_name> python=3.7 ipykernel jupyter I am assuming this is successful as I can activate this environment via the anaconda prompt and following command -conda activate <env_name> Then I downloaded and installed VS code and I am trying to edit an .ipynb file. I want to select a kernel, via VS Code but when I press the button on the upper right corner I am greeted...
Back
Top