
Concept explainers
To express:
A binary number into a hexadecimal number.

Answer to Problem 16A
Hexadecimal number is 10AB.92616.
Explanation of Solution
Given information:
A binary number 1000010101011.100100100112.
Calculation:
Binary number system uses the number 2 as its base. Therefore, it has 2 symbols: The numbers are 0 and 1.
And a hexadecimal number system uses the number 16 as its base i.e. it has 16 symbols. The hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F.
Binary numbers are represented as from hexadecimal number
Binary | 0000 | 0001 | 0010 | 0011 | 0100 | 0101 | 0110 | 0111 |
Decimal | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Binary | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 |
Decimal | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Hexadecimal | 8 | 9 | A | B | C | D | E | F |
Each hexadecimal digit consists of 4 binary digits.
For example, hexadecimal number 9 is equal to binary number 1001.
For converting integer part of binary number into hexadecimal number, write down the binary number and represent four binary digits from right by its hexadecimal digit from the table.
Then combine all the digits together.
For converting fractional part of binary number into hexadecimal number, write down the binary number and represent four binary digits from left by its hexadecimal digit from the table.
Then combine all the digits together.
Finally, hexadecimal number is combination of both integer and fractional part.
Hexadecimal digits are equal to the summation of 2n where n = 0, 1, 2 and 3 (position from right).
For example, 9 = 23+20. In this example, 21 and 22are not there. So, at position 1 and 2, binary digit is zero, and at position 0 and 3, binary digit is one. Therefore, hexadecimal of binary 1001 is
The hexadecimal number is equal to the summation of binary digits dn × 2n
Divide the binary number into block of four digits. If four digits are not there, then add additional zero in binary number. For example, 11 is written as 0011 and .11 is written as .1100.
Hexadecimal of binary number 1100100101001011.10010010012 is (Starting from right for integer part and starting from left for fractional part)
Want to see more full solutions like this?
Chapter 85 Solutions
Mathematics For Machine Technology
- 8. An elementary single period market model has a risky asset with price So = 20 at the beginning and a money market account with interest rate r = 0.04 compounded only once at the end of the investment period. = = In market model A, S₁ 10 with 15% probability and S₁ 21 with 85% probability. In market model B, S₁ = 25 with 10% probability and S₁ = 30 with 90% probability. For each market model A, B, determine if the model is arbitrage-free. If not, construct an arbitrage. Total [9 Marks]arrow_forwardb) Solve the following linear program using the 2-phase simplex algorithm. You should give the initial tableau, and each further tableau produced during the execution of the algorithm. If the program has an optimal solution, give this solution and state its objective value. If it does not have an optimal solution, say why. maximize ₁ - 2x2+x34x4 subject to 2x1+x22x3x41, 5x1 + x2-x3-×4 ≤ −1, 2x1+x2-x3-34 2, 1, 2, 3, 40.arrow_forwardSuppose we have a linear program in standard equation form maximize cTx subject to Ax = b. x ≥ 0. and suppose u, v, and w are all optimal solutions to this linear program. (a) Prove that zu+v+w is an optimal solution. (b) If you try to adapt your proof from part (a) to prove that that u+v+w is an optimal solution, say exactly which part(s) of the proof go wrong. (c) If you try to adapt your proof from part (a) to prove that u+v-w is an optimal solution, say exactly which part(s) of the proof go wrong.arrow_forward
- a) Suppose that we are carrying out the 1-phase simplex algorithm on a linear program in standard inequality form (with 3 variables and 4 constraints) and suppose that we have reached a point where we have obtained the following tableau. Apply one more pivot operation, indicating the highlighted row and column and the row operations you carry out. What can you conclude from your updated tableau? x1 x2 x3 81 82 83 84 81 -2 0 1 1 0 0 0 3 82 3 0 -2 0 1 2 0 6 12 1 1 -3 0 0 1 0 2 84 -3 0 2 0 0 -1 1 4 -2 -2 0 11 0 0-4 0 -8arrow_forwardPlease solve number 2.arrow_forwardConstruct a know-show table of the proposition: For each integer n, n is even if and only if 4 divides n^2arrow_forward
- In Problems 1 and 2 find the eigenfunctions and the equation that defines the eigenvalues for the given boundary-value problem. Use a CAS to approximate the first four eigenvalues A1, A2, A3, and A4. Give the eigenfunctions corresponding to these approximations. 1. y" + Ay = 0, y'(0) = 0, y(1) + y'(1) = 0arrow_forwardFind the closed formula for each of the following sequences (a_n)_n>=1 by realting them to a well known sequence. Assume the first term given is a_1 d. 5,23,119,719,5039 i have tried finding the differnces and the second difference and i still dont see the patternarrow_forwardYou manage a chemical company with 2 warehouses. The following quantities of Important Chemical A have arrived from an international supplier at 3 different ports: Chemical Available (L) Port 1 Port 2 Port 3 400 110 100 The following amounts of Important Chemical A are required at your warehouses: Warehouse 1 Warehouse 2 Chemical Required (L) 380 230 The cost in £ to ship 1L of chemical from each port to each warehouse is as follows: Warehouse 1 Warehouse 2 Port 1 £10 £45 Port 2 £20 £28 Port 3 £13 £11 (a) You want to know how to send these shipments as cheaply as possible. For- mulate this as a linear program (you do not need to formulate it in standard inequality form) indicating what each variable represents.arrow_forward
- a) Suppose that we are carrying out the 1-phase simplex algorithm on a linear program in standard inequality form (with 3 variables and 4 constraints) and suppose that we have reached a point where we have obtained the following tableau. Apply one more pivot operation, indicating the highlighted row and column and the row operations you carry out. What can you conclude from your updated tableau? x1 12 23 81 82 83 S4 $1 -20 1 1 0 0 0 3 82 3 0 -2 0 1 2 0 6 12 1 1 -3 0 0 1 0 2 84 -3 0 2 0 0 -1 1 4 2 -2 0 11 0 0 -4 0 -8 b) Solve the following linear program using the 2-phase simplex algorithm. You should give the initial tableau and each further tableau produced during the execution of the algorithm. If the program has an optimal solution, give this solution and state its objective value. If it does not have an optimal solution, say why. maximize 21 - - 2x2 + x3 - 4x4 subject to 2x1+x22x3x4≥ 1, 5x1+x2-x3-4 -1, 2x1+x2-x3-342, 1, 2, 3, 4 ≥0.arrow_forwardSuppose we have a linear program in standard equation form maximize c'x subject to Ax=b, x≥ 0. and suppose u, v, and w are all optimal solutions to this linear program. (a) Prove that zu+v+w is an optimal solution. (b) If you try to adapt your proof from part (a) to prove that that u+v+w is an optimal solution, say exactly which part(s) of the proof go wrong. (c) If you try to adapt your proof from part (a) to prove that u+v-w is an optimal solution, say exactly which part(s) of the proof go wrong.arrow_forward(a) For the following linear programme, sketch the feasible region and the direction of the objective function. Use you sketch to find an optimal solution to the program. State the optimal solution and give the objective value for this solution. maximize +22 subject to 1 + 2x2 ≤ 4, 1 +3x2 ≤ 12, x1, x2 ≥0 (b) For the following linear programme, sketch the feasible region and the direction of the objective function. Explain, making reference to your sketch, why this linear programme is unbounded. maximize ₁+%2 subject to -2x1 + x2 ≤ 4, x1 - 2x2 ≤4, x1 + x2 ≥ 7, x1,x20 Give any feasible solution to the linear programme for which the objective value is 40 (you do not need to justify your answer).arrow_forward
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,
