This project outline is not like the artificial tidy problems you are spoon-fed in school, when all the facts you need are included, nothing extraneous is mentioned, the answer is fully specified, along with hints to nudge you toward a single expected canonical solution. This project is much more like the real world of messy problems where it is up to you to fully the define the end point, or a series of ever more difficult versions of this project, and research the information yourself to solve them.
Everything I have to say to help you with this project is written below. I am not prepared to help you implement it; or give you any additional materials. I have too many other projects of my own.
Though I am a programmer, I don’t do people’s homework for them. That just robs them of an education.
You have my full permission to implement this project in any way you please and to keep all the profits from your endeavor.
The motivation for this project is to encourage people to make greener choices when they buy computers, by encouraging them to more accurately go for self-interest and to more fully appreciate the value of low-power computing.
When large companies buy computer server farms, they factor in the cost of the electricity the computer will use over the life of the computer, the rent for the space to house the computer, and the cost of air conditioning. However when people buy home computers, they ignore these costs, even though they amount to a substantial proportion of the total cost. What is needed is a simple Applet to help potential computer buyers take these factors into account, and also the cost of batteries. Ideally you would measure the power consumption of the candidate unit with an AC power meter, find out the cost of electricity, use a crystal ball to find the future cost of electricity… This won’t do. We need something simple even a technopeasant can use.
Let it work like this: The user answers a number of questions:
For a fancier version, you keep history so you can compare several candidates. Make sure that when you compare, the last three questions are the same, or at least generate a warning if they are not.
The Java coding part of this project is duck simple. Just present the user with JComboBox multiple choice questions. You might want to use the currency JSpinner to select the cost. You might as well recompute after every change event. The main work is in collecting data on electricity costs and power consumption.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/project/electricity.html | J:\mindprod\project\electricity.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.101] | |
| Feedback | You are visitor number 11. | |