Study guides

Q: What is the algorithm for adding negative numbers?

Write your answer...

Submit

Related questions

The correctness of either Prim's or Kruskal's algorithm, is not affected by negative edges in the graph. They both work fine with negative edges. The question boils down to "Does a Priority Queue of numbers work with negative numbers?" because of the fact that both Prim's and Kruskal's algorithm use a priority queue. Of course -- as negative numbers are simply numbers smaller than 0. The "<" sign will still work with negative numbers.

It is the same thing, since "integers" consists of positive and negative numbers (and zero).

No- adding negative numbers is like adding positive numbesr , except the answer is negative.

Subtracting negative numbers is exactly the same as adding the positive number.

The numbers can have a positive or negative sign.

Yes, if you are adding two negative numbers then the answer will be a negative. However, if you are multiplying or dividing two negative numbers then the answer will be a positive number.

No, it is not.

im not tellin

Adding two negative numbers always gives a negative number.

No. Adding negative numbers will make them more negative.

Adding two negative numbers will always be negative. Subtracting two negative numbers may be positive or negative. Dividing or multiplying two negative numbers will always be positive.No

Never.

-4 + -2 = -6

Adding a negative number to a negative number makes a larger negative. In order to solve this you add the numbers together as a positive then add a negative sign.

When subtracting negative numbers change the subtraction sign to a plus and change the second number (which would appear to be positive) to a negative. ex. -14 - 7=?/-14 + -7= -21 When adding negative numbers just add them as they appear. ex. -2 + -5= -7

grade 2

Never. The sum of two negative numbers is a negative number with a value less than either of them, e.g. (-1) + (-2) = (-3) Adding two negative numbers is the same as adding their positive absolute values, and expressing the sum as a negative. If the two negative numbers are the same, and you subtract one from the other, the result is 0. e.g. (-2) - (-2) is the same as (-2) + 2 , which equals 0.

Wats are temples from South East Asia and, as far as I am aware, they do not dicatate any rules for adding rational numbers.

If you are adding a positive number, then this is the same as normal addition. For instance, 4 add positive 5 is 9. negative 1 add positive 8 is 7. If you are adding a negative number, then this is the same as subtracting that number. For instance 6 add negative 1 is 5. negative 7 add negative 2 is negative 9.

It depends on what numbers you are using so thats the first question.

Subtracting a positive number from a negative number is the same as adding two negative numbers, which is like adding two positive numbers except you're going to the left from zero on the number line instead of to the right. The rule is to add the absolute values (the numbers without the signs) of the two numbers and keep the negative sign. For example, -3 - 5 = (-3) + (-5) = -1 * (3 + 5) = -8.

No. Adding two negative numbers will give a number which is more negative.

When you multiply any number by a negative number you reverse its sign. So positive numbers become negative, and negative numbers become positive. That is the meaning of negative multiplication; it is reversal. This is similar to the way that adding a negative number has the same effect as subtracting a positive number. Negative is the opposite of positive.

Integers include 0, the negative numbers without fractional parts, and the positive numbers without fractional parts. The "without fractional parts" part of the description implies that all of the integers are whole numbers. Therefore, if you are adding integers, you are adding whole numbers.

Describe an algorithm for dividing rational numbers.