Write a C++/MATLAB program that calculates resistance of a resistor from the color code. The standard four band resistor
Posted: Fri Jun 10, 2022 12:01 pm
Write a C++/MATLAB program that calculates resistance of a resistor from the color code. The standard four band resistor color code is given in the table below RESISTOR COLOR CODE CHART Band Color Band #1 Band #2 Band #3 Multiplier Value Band #4 Options Possible Possible Possible For Band 3 Value Tolerance Black 0 1 1 Brown 1 1 1 10 Red 2 2 2 100 Orange 3 3 3 1,000 Yellow 4 4 4 10,000 100,000 Green 5 5 Blue 6 1,000,000 Violet 7 10,000,000 Gray 8 100,000,000 White 9 1,000,000,000 None Silver Gold 6 789 56 6 20% 10% 5%