Conversion of bases of numbers

In summary, the conversation discusses the process of converting a number from base 16 to base 10 and vice versa. The main method involves multiplying each digit by its corresponding power and adding them together. To convert 14.334 from base 16 to base 10, the integer part is converted to base 10 while the decimal part is multiplied by 16 and added to the answer. The same rules apply for converting from any base to another.
  • #1
omar alaa
20
0

Homework Statement


convert 14.334 to the base 16 to a no. to the base 10


Homework Equations


sum ofeach no.*its poand take position weigth

The Attempt at a Solution


the integer part 14 will be 4*16^0+1*16^1=20 to the base 10
the decimal part 0.334 is my problem
i multiply 0.334 *16 and take the integer part each time but when to stop?
 
Physics news on Phys.org
  • #2
Similar to 1416=1*161 + 4*160, you get 14.316=1*161 + 4*160 + 3*16-1 and so on, and you can calculate with that in the usual way.

The index 16 means "this number is in base 16".
 
  • #3
ok but what about 14.334 to the base 10 to a no. to base 16 ?
 
Last edited:
  • #4
Just follow the same rules for other bases. My equations didn't even rely on base 10 (well, just to express "16").
There is nothing special about 10, we are just more used to this base than to others.
 
  • Like
Likes 1 person
  • #5
omar alaa said:
ok but what about 14.334 to the base 16 to a no. to base 10 ?

Odd question, since mfb has given you EXACTLY the answer for that except that he stopped at 14.3 and expected you to make the incredibly trivial extension of what he did to get on to 14.334
 

1. What is the purpose of converting bases of numbers?

The purpose of converting bases of numbers is to change the representation of a number from one base to another. This can make it easier to perform calculations or understand the value of a number in a different base system.

2. What are the most common base systems used in mathematics?

The most common base systems used in mathematics are base 10 (decimal), base 2 (binary), base 8 (octal), and base 16 (hexadecimal).

3. How do you convert a number from one base to another?

To convert a number from one base to another, you can use the repeated division method or the shortcut method. In the repeated division method, you divide the number by the new base and record the remainder. Then, you divide the quotient by the new base and continue this process until the quotient is 0. The converted number is the remainders in reverse order. In the shortcut method, you can use the powers of the new base to determine the value of each digit in the new base.

4. Can you convert a decimal number to a binary number?

Yes, you can convert a decimal number to a binary number using the repeated division method or the shortcut method. In the shortcut method, you can divide the decimal number by 2 and record the remainder. Then, you divide the quotient by 2 and continue this process until the quotient is 0. The binary number is the remainders in reverse order. For example, to convert 13 (base 10) to binary, you would divide 13 by 2 to get a quotient of 6 and a remainder of 1. Then, you divide 6 by 2 to get a quotient of 3 and a remainder of 0. Continuing this process, you get 1101 (base 2) as the binary representation of 13 (base 10).

5. Why is converting to binary important in computer science?

Converting to binary is important in computer science because computers use binary as their base system to represent and process data. By converting numbers to binary, computers can perform calculations and store information in a way that is more efficient and easier for them to process.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
3
Views
884
  • Engineering and Comp Sci Homework Help
Replies
22
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
32
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
11
Views
839
  • Engineering and Comp Sci Homework Help
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
22
Views
2K
Back
Top