If possible construct a 4852 weighted code for decimal digit
If possible, construct a 4-8-5-2 weighted code for decimal digits and express 137 decimal using this code. Enter your answer for 137.
Solution
Basically, weighted codes are such kind used for representation each digit in decimal through with equivalent binary coding with consideration of given weights.
for given decimal number 137, with weighted 4-8-5-2 is not possible because to represent each digit of decimal is less compare to resolution of given positive weights.
In given decimal number digit \"1\" in 137 , cann\'t be represent throgh 4-8-5-2. as well as digit \"3\" cann\'t reprent through 4-8-5-2.
In conclusion, there are several weighted codes possibles to represent all decimal digit like 4-2-2-1, 3-3-3-1, 6-3-1-1, 8-4-2-1 etc.

