Math, asked by tdougeastb9435, 4 months ago

The sum of two consecutive even number is 26 find the number

Answers

Answered by Anonymous
37

let two consecutive number be x and x+1

x + x + 2 = 26

2x + 2 = 26

2x = 26 - 2

2x = 24

x = 12

first no = 12

second no = 12 + 2 = 14

hope it's help ✌✌

Answered by Anonymous
1

Answer:

Using int() function to separate integer part of a number the number X is an integer one if :

X - int (X) = 0 …………… (1)

(X+2) - int (X+2) = 0………. (2)

The base equations to be solved for X if the X is an even or odd having a consecutive pair of X+2 having a sum of S :

X + ( X+2 ) = S

The solution is:

X = ( S-2 ) / 2 = S/2 -1

X+2 = S/2 + 1

The (1) and (2) always fulfilled if S is an even number. Otherwise the X and X+2 might not be an integer.

If S/2 is an odd , the X and X+2 will be even one. Otherwise the X and X +2 has an odd value.

By a given S=26

X = S/2 - 1 = 12

X + 2 = S/2 + 1 = 14

Similar questions