Maximum and minimum values of 7s complement in base 7

In summary: The problem statement would be in base 8. Thanks!For a 5 digit binary number, the highest value would be 01111 (15), and the lowest would be 10001(-15)For a 5 digit 1's complent number, the lowest value is 10000 (-15), and the highest is 01111 (+15). Note that 11111 is "negative zero" and 00000 is "postive zero".Don't you have to add 1 at the end for the negative and isn't that two's complement? So how would it work for 7's complement in base 7?In summary, the maximum and minimum values that can be represented using a 7s complement representation in base 7, using a 5 digit number are as follows: the highest
  • #1
nautolian
34
0

Homework Statement



What are the maximum and minimum values that can be represented using a 7s complement representation in base 7, using a 5 digit number?

Homework Equations





The Attempt at a Solution



Would you divide the numbers so that any number starting with an odd digit is negative and any number starting with an even digit is positive? I actually have no idea how to do this. Would you start with 77777 as the lowest number? and then the highest would be 67777? Thanks in advance for the help
 
Physics news on Phys.org
  • #2
use binary as an example and then abstract to base 7

in java for example the min value 2^-31 and the max value is 2^31 -1

http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html
 
Last edited by a moderator:
  • #3
In terms of seven's complement though, how would that work.

So for a 5 digit binary number, the highest value would be 01111 (15), and the lowest would be 10001(-15), right? So for seven's complement would you still say odd numbers are negative and evens are positive? So would you add 6 instead of one at the end for 7's complement vs. two's complement? Thanks!
 
  • #4
nautolian said:
So for a 5 digit binary number, the highest value would be 01111 (15), and the lowest would be 10001(-15)
For a 5 digit 1's complent number, the lowest value is 10000 (-15), and the highest is 01111 (+15). Note that 11111 is "negative zero" and 00000 is "postive zero".
 
  • #5
Don't you have to add 1 at the end for the negative and isn't that two's complement? So how would it work for 7's complement in base 7?
 
  • #6
nautolian said:
So how would it work for 7's complement in base 7?
I'm a bit confused by the original post. If each digit ranges from 0 to 7, isn't that a base 8 number? If so, then is the problem statement asking about 7's complement for a base 8 number, which would be similar to 1's complement for a base 2 number? If not, shouldn't each digit for a base 7 number range from 0 to 6, in which case 7's complement for a base 7 number would be similar to 2's complement for a base 2 number?
 
  • #7
Sorry, yes, I messed up on that. So it is base 7 with 7s complement. ie, numbers from 0-6.
 

Related to Maximum and minimum values of 7s complement in base 7

What is the meaning of maximum and minimum values of 7s complement in base 7?

The maximum and minimum values of 7s complement in base 7 refer to the largest and smallest possible numbers that can be represented in this number system. These values are important for understanding the range of numbers that can be expressed in base 7 using the 7s complement method.

How do you calculate the maximum and minimum values of 7s complement in base 7?

To calculate the maximum and minimum values of 7s complement in base 7, first determine the number of digits that can be expressed in the given number system. For base 7, this would be 7 digits (0-6). Then, for the maximum value, use all 7 digits and subtract 1 from the leftmost digit. For the minimum value, use all 7 digits and subtract 1 from the rightmost digit. The result is the maximum and minimum values, respectively, in 7s complement in base 7.

What is the significance of the maximum and minimum values in 7s complement in base 7?

The maximum and minimum values in 7s complement in base 7 are important because they represent the limits of the number system. Numbers that fall outside of this range cannot be accurately represented using the 7s complement method in base 7.

How do the maximum and minimum values of 7s complement in base 7 compare to other number systems?

The maximum and minimum values of 7s complement in base 7 may differ from other number systems, such as decimal or binary. This is because the number of digits and the rules for representing numbers vary between different number systems. It is important to understand the specific range of numbers for each number system in order to accurately represent and manipulate numbers.

What are some real-world applications of understanding the maximum and minimum values of 7s complement in base 7?

Understanding the maximum and minimum values of 7s complement in base 7 can be useful in various scientific and engineering fields. For example, it can be used in computer programming to ensure that numbers are accurately represented and manipulated. In physics, it can be applied to data analysis and calculations. Additionally, it can be helpful in understanding and designing electronic circuits and systems that use base 7 arithmetic.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
13
Views
1K
  • Programming and Computer Science
Replies
17
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
32
Views
3K
  • Introductory Physics Homework Help
Replies
5
Views
888
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Computing and Technology
Replies
4
Views
865
  • High Energy, Nuclear, Particle Physics
Replies
1
Views
877
Back
Top