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
Please help me out on cluster logs ...
Windows 2003 Terminal License server problem
Where do I need to close/Dispose of my connections, in my code
Space betwen menu blocks
Remote Software Installation - Silent
Passing combobox var to loaded swf as3
Create linked server from MS Sql to oracle server
With regards to correlated subqueries does anybody know what the logical query processing order?
Validate month and year fields based on current date
Does OpenOffice allow Windows 7 preview pane to preview .doc and .xls files?