Arithmetic & Number Theory
Addition
Add two numbers together.
Formula
Formula
s = a + b
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| a | first addend | real number (ℝ) | — | input |
| b | second addend | real number (ℝ) | — | input |
| s | sum | computed result | — | result |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givena = 5, b = 3
Result8
Example 2
Givena = -2.5, b = 10
Result7.5