#### A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

Negative Calculator

# Negative Calculator

## Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

#### SIGN UP FOR A FREE TRIAL

Number system is made up of positive and negative numbers. Hence these numbers form the basic

foundation of the entire Mathematics. A negative number is represented by inserting ‘-‘ sign in front of the

respective number. Negative calculator is the quick online tool which can do calculations based on negative

numbers easily.

Example 1: Add the given negative numbers, -5 and -7.

Given numbers: -5 and -7

They are both negative numbers and we have to perform addition on them.

Hence the notation is -> -5 + (-7)

‘+’ sign multiplied with a ‘-‘ sign always is a negative number(‘-‘ sign).

Hence -> -5 + (-7) = -5 – 7

Now there are two numbers with negative signs added together -> add the numbers and keep the negative

sign -> -5 – 7 = -12

Hence -5 + (-7) = -12

Example 2: Subtract the given negative numbers, -3and -2

Given numbers: -3 and -2

They are both negative numbers and we have to perform subtraction on them.

Hence the notation is->  -3 - (-2)

‘-’ sign multiplied with a ‘-‘ sign always is a positive number(‘+‘ sign).

Hence -> -3 - (-2) = -3+ 2

Now since the greater numberhas the negative signhence -> subtract the numbers and keep the negative

sign -> -3 + 2 = -1

Hence -3 – (-2) = -1