Question: Create a flowchart to solve this problem/ determine the resistance of a resistor with these properties. Q.1 Resistor are a integral part of electronics. A
Create a flowchart to solve this problem/ determine the resistance of a resistor with these properties.
Q.1 Resistor are a integral part of electronics. A resistor's value is encoded in colored bands painted around the component itself. Write a program to calculate the resistance value (in ohms) of a three band resistor, given the following rules :
The first 2 bands may be of any of the following colors - black, brown, red, orange, yellow, green.
Each of the colors above correspond to the digits 0-5 respectively (i.e. black = 0, green = 5)
The third band may be of any color from the above list from black to violet green
The third band's color represents the multiplier and goes from 1 = black to 100,000 = green with each progressive color being 10 x more of a multiplier
For example, a resistor with three bands of the following colors: Red, Red, Green would have the following calculation: 2(red) 2(red) x 100,000(green) = 2,200,000 ohms.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
