Microsoft
Software
Hardware
Network
Question : (V Simple) Work out y given x.
Hello,
0<=x<=255
0<=y<=127
When x is 0 y is 127
When x is 255 y is 0
I cannot see how to solve y given x, likewise, x given y. I can see that y is half the range of x so there is a divide by 2 in there somewhere, it's fairly simple, but I cannot see it for the life of me! :(
Thanks,
Uni
Answer : (V Simple) Work out y given x.
y=127-(x*127/255)
Random Solutions
Kernel panic not syncing VMWare Data Recovery 1.2
How can I sign certificate request using java.security or Bouncycastle programmatically?
Suggestions for Cicso NM modules for LRE setup
windows 7 home password policy
Making a movie project into a DVD file in Windows 7. How do I burn copies in Vista?
extracting BLOBs
Upgrade Exchange SP2 to SP3
Acer Aspire One internal speakers not working
Dual Microsoft DHCP scope configuration.
Installing PHP XP (IIS 5.1)