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
SBS 2008: reverting from smart host/pop3 connector to exchange hosted email (DNS)?
How to read the data from MQRFH2 messages using MQ connector stage
Accessing an FTP server internally that is on a different subnet.
Need SBS 2008 R2 Premium Media
Win 2003 Server desktop icons do not appear after login
How do create a Windows batch script to start a service and set to automatic
My Computer/ Explorer Not responding Windows XP
Internet Explorer blocking javascript
Crosstab Query To Excel - Number Format
Same basic colors in HTML or RGB