answersLogoWhite

0


Best Answer

Assuming the computer could operate addition of negative values the solution would be to add the additive inverse. For example, instead of subtracting 5 - 4 = 1, you would end the addition problem 5 + (-4) = 1. Note that in the second case the "-" was not a subtraction sign but rather a negative sign. In algebraic terms: If x - y = c then x + (-y) = c.

User Avatar

Wiki User

โˆ™ 15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

โˆ™ 14y ago

computers persform substraction by addition i.e substraction by 2'complement...
for instance,
if u want to substract 9 - 5
the first thing the computer will do is it will convert the numbers into its binary equivalent i.e.

9's binary equivalent is 1001 and
5's binary equivalent is 0101

then it negate the 0101 to 1010 (all zero's become one's & all one's become zero's)

then it will add the nine's binary equivalent 1001 with
the complement of 5's binary equivalent +1010
-----------------
the number we get is 1 0011
now we will make it 2's
complement by adding 1 1
----------------
0100 this binary equivalent of 4(9-5)


if you understand then send some feedback....

This answer is:
User Avatar

User Avatar

Wiki User

โˆ™ 14y ago

Don't know where you got the idea that computers can only add. Computers can perform all mathematic equasions by converting the numbers to binary form and performing the operation at a machine language level, then converting back to decimal or whatever number system you are using.

This answer is:
User Avatar

User Avatar

Wiki User

โˆ™ 11y ago

Computer can perform Both of them in binary level (0,1)multiplication and Division is done by using subtraction and addition property

This answer is:
User Avatar

User Avatar

Wiki User

โˆ™ 14y ago

it uses an additive inverse

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: If a computer knows only one operation which is addition how does it perform subtraction?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What perform a possible math operation?

By using division, multiplication, addition or subtraction


The rules that tell which operation to perform first when more than one operation is used?

BIDMAS B = Brackets I = Index D = Division M = Multiplication A = Addition S = Subtraction


What are the operation symbols?

Operation symbols in mathematics are used to represent mathematical operations, such as addition (+), subtraction (-), multiplication (ร—), and division (รท). These symbols are used to perform calculations and denote relationships between numbers or variables.


What was mathematical operation was stepped reckoner supposed to perfrom?

It was the first calculator that could perform all four arithmetic operations: addition, subtraction, multiplication and division.


What function did the step reckoner perform?

Operations such as addition and subtraction


What are the primary arithmetic operations a computer program can perform?

The four primary arithmetic operations a computer program can perform are addition, subtraction, multiplication and division.2 + 3 = 5 is an example of addition9 - 7 = 7 is an example of subtraction2 x 3 = 6 is an example of multiplication10 / 2 = 5 is an example of division


In order to perform this opertation fractions must have the same denominators?

Addition or subtraction


Function of abacus?

An abacus is an ancient form of the modern day calculator.


Why microprocessor 8085 has 16 bit address lines?

Because that's how Intel designed it. The 8085 is an 8-bit computer operating on a 16-bit address space.


What is an adding machine?

An adding machine is a mechanical or electromechanical calculator which could perform addition and subtraction.


What four general operation can a computer perform?

computer can perform input, process, output, and storage


Does computer perform multiplications and subtraction.?

Yes. In windows its often located in Start > Programs > Accessories > Calculator. They perform this using a math processor built into the CPU (Central Processing Unit). Older computers had a separate math processor called a Math-CoProcessor