Hello, I have the following equations;

value(x) = \sum_{i=1}^{n} x[i] \cdot v[i]

weight(x) = \sum_{i=1}^{n} x[i] \cdot w[i]

I have a list of 6 digit binary numbers (e.g. 000111) from which I'm trying to use the above equations to figure out the value and weight. Could anyone step me though how I work them out?

Many thanks