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
Delete blank line from textarea
VPN Disconnects
How to create bootable DVD from downloaded Windows Server EXE
Shell script to queue commands
RHEL command to do an LS and have the result stop until you hit the space bar
java.lang.NoClassDefFoundE
rror: TestZone/java
Advice on protecting a DB.php File
Configuration Status error on TMG 2010 Enterprise
DOS Batch Turnkey system for Win95
OS X 10.6.4 and Flash Player Issues