I want to calculate a MOD-11 check digit; and then do some additional calculations.
I start with 12 integer variables a-l; some values are known a=5,b=6,g=6,h=5,k=7,l=9
I calculate intermediate weighted sum as
x=(a * 13)+(b * 12)+(c* 11)+(d * 10)+(e * 9)+(f * 8)+(g * 7)+(h * 6)+(i * 5)+(j * 4)+(k * 3)+(l * 2)
Then calculate MOD-11 of that sum y=mod(x,11)
Then calculate check digit z=11-y
Now I do these two additional calculations:
9.812+((x * z)/1000)=11.288, 15.780-((x * y)/1000)=11.844
I was hoping this site can tell me values of c,d,e,f,i,j that makes this all work; but I get "Wolfram|Alpha doesn't understand your query" message with the following input:
a=5,b=6,g=6,h=5,k=7,l=9,x=(a * 13)+(b * 12)+(c * 11)+(d * 10)+(e * 9)+(f * 8)+(g * 7)+(h * 6)+(i * 5)+(j * 4)+(k * 3)+(l * 2),y=mod(x,11),9.812+((x * z)/1000)=11.288,15.780-((x * y)/1000)=11.844
Did I do something wrong?