Artificial intelligent assistant

Calculate commission percentage by amount In our system, we got a booking of the price 1100, the default commission percentage is 15% hence the raw price is 1100 / 1.15 = 956.52173913 Which means that the current commission amount is 1100 - 956.52173913 = 143.47826087 I need to change the commission percentage of this booking, but i only know the commission amount which is 100 How do i calculate the new commission, based on the only on commission amount?

More general. The following formula can be solved for $x$.

$P\cdot \left(1-\frac{1}{1+x}\right)=C$

with $P=$ gross price, $x$=comission rate and $C$=commission

_Multipying out the brackets_

$P-\frac{P}{1+x}=C$

$P-C=\frac{P}{1+x}$

_Interchanging numerators and denominators_

$\frac{1}{P-C}=\frac{1+x}{P}$

$\frac{P}{P-C}=1+x$

$\frac{P}{P-C}-1=x$

$\frac{P}{P-C}-\frac{P-C}{P-C}=x$

$\boxed{\frac{C}{P-C}=x}$

With $P=1100$ and $C=100$

$x=\frac{100}{1100-100}=0.1=10\%$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 5d4862a4cad34d91ebc094ee9a5f8691