How to modify a formula to suit this application

14 Views Asked by At

I have an problem that I am unsure how to solve.

Hopefully someone can edit this question to get the fancy equations up as I don't know how.

I have a formula to find a variable, say $$a = \frac{(b * c)} {d}$$

Now if d = 1000 but due to my application in software (its a long story), I cannot divide by 1000 but I can divide by a number in the range of 2^n, say 2,4,8,16...1024, basically so I can shift right to divide. So,

How can I modify the above equation so that d = 1024 instead of 1000 and still get the correct answer?

Hope I made this clear, if not I will edit my question.

Thanks for any help.

1

There are 1 best solutions below

2
On BEST ANSWER

$\frac{b c}{1000}=\frac{b c x}{1024}$ if $x=1.024$. You can multiply $b$ or $c$ by $1.024$