A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
How to use method pow()? [based on resistance value question]
Joined: Jul 22, 2005
Jul 24, 2005 08:52:00
Hmm.. anyone knows of a simple yet efficient ways to
calculate resistance values of a resistor with 3 color bands??
Means user enter 3 color into textfield:
eg: red, orange, grey.
so the program will calculate total value entered by user.
The value for red - 2, orange - 3, brown - 1.
i know i need to use the method pow() for multiplier.
But i'm not very sure what to be types inside..
Thanks for your attention!!
Joined: Aug 03, 2002
Jul 24, 2005 09:59:00
Double post, please respond
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to use method pow()? [based on resistance value question]
How to fill in color?
Calling a Hashtable from another class.
How to calculate resistance values of a resistor with 3 colour bands?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014