1. ## Percents

Salary of Peter was increased for p percent and salery od John was decreased by q percent. After it thay have equal saleries.

We known p, how to determined q (in function of p)?

Peter sal. X
John sal. Y

X+pX=Y-qY
... ?

2. ## Re: Percents

As you see, q is not a function of p. In addition to p, you need to know X / Y.

3. ## Re: Percents

Originally Posted by feferon11

Salary of Peter was increased for p percent and salery od John was decreased by q percent. After it thay have equal saleries.

We known p, how to determined q (in function of p)?

Peter sal. X
John sal. Y

X+pX=Y-qY
... ?
qY= Y- X- pX

q= (Y- X- pX)/Y

gives q as a function of p, for fixed X and Y

4. ## Re: Percents

Since the increase and decrease are in percentage thus we should have
X + p%X = Y - q%Y That gives
X + pX/ 100 = Y - qY/100
qY/100 = Y - X - pX/ 100
Now proceed further