Questionneed some help :)

Posts 1–8 of 8 · Page 1 of 1
need some help :)
This is my one part of my physic project...need to develop a program about this below

So.. homework?
Quote Originally Posted by tamanyayasan01 View Post
This is my one part of my physic project...need to develop a program about this below

We are not a community designed to assist you with your homework, that you can not do as you weren't paying attention.
We're designed to help coders code. not people like you with something they should be able to do.
just need some dicussion and some idea only...i will try to make it
It seems simple enough, the gave you the process.

1) Find a way of converting a resistor's color code to a numerical value (You should know how to do this, if you don't, google "resistor color code chart")

2) Using the formula for Total Resistance, plug in your resistor's color code and return the output you get from the equation

Mostly in a circuit if you are given all the resistor color codes, you can calculate the total resistence by simply convert each color code to a numerical value and adding all of them up. Hope that helps, I would use Python for this, since it's a good scripting language, and this project seems like a little script.
Quote Originally Posted by hamid1655 View Post
It seems simple enough, the gave you the process.

1) Find a way of converting a resistor's color code to a numerical value (You should know how to do this, if you don't, google "resistor color code chart")

2) Using the formula for Total Resistance, plug in your resistor's color code and return the output you get from the equation

Mostly in a circuit if you are given all the resistor color codes, you can calculate the total resistence by simply convert each color code to a numerical value and adding all of them up. Hope that helps, I would use Python for this, since it's a good scripting language, and this project seems like a little script.

thank you hamid1655

---------- Post added at 10:45 AM ---------- Previous post was at 10:29 AM ----------

hamid1655 the digit 0 until 9 is what ?
0-9 are your colors given by the resistor color code chart.

Here's a sample of a resistor.

Color Code is: Red, Green, Brown

Red = 2, so write 2.
Green = 5, so add 5, now we have 25
Brown = 1, its our multiplier, so we add 1 zero

and we have 250 ohms. So first 2 colors, write their numerical value, then the third color is the number of zeroes you write after.

EDIT: if I did help you out, please hit the thanks button! :P
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?