Solved

Calculate precentage complement.

Posted on 2007-03-22
3
1,546 Views
Last Modified: 2012-08-13
I am trying to calculate precentage change and percentage complement.
Let's p = 20% and pComp = ?
Here is a manual calculation of pComp
100 + p(20%) = 120
now
120 - pComp = 100
pComp = 16.6%

Is there a simple formula for it ?
0
Comment
Question by:psokolo
3 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 18772217
pComp = ((pValue - 100)/pValue)*100


pValue = 120

AW
0
 

Author Comment

by:psokolo
ID: 18772245
I would need a formula that would calculate pComp with p as the only parameter.

Thanks for intput.
0
 
LVL 12

Accepted Solution

by:
jkmyoung earned 500 total points
ID: 18772357
pComp = p/(1+p)

Derivation:
(1 + p) * (1 - pComp) = 1
1 + p - pComp - p*pComp = 1
p - pComp - p*pComp = 0
pComp (-p - 1) = -p
pComp = p/(1+p)

Eg.
p = 20% = 0.2
0.2/(1+0.2) = 0.2 /1.2 = 1/6 = 0.16666... = 16.7%
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
Introduction On a scale of 1 to 10, how would you rate our Product? Many of us have answered that question time and time again. But only a few of us have had the pleasure of receiving a stack of the filled out surveys and being asked to do somethi…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question