Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
QuestionQuick Question Pin
MrMcIntyre9-Feb-09 10:40
MrMcIntyre9-Feb-09 10:40 
AnswerRe: Quick Question Pin
DaveyM699-Feb-09 10:48
professionalDaveyM699-Feb-09 10:48 
GeneralRe: Quick Question Pin
MrMcIntyre9-Feb-09 11:12
MrMcIntyre9-Feb-09 11:12 
GeneralRe: Quick Question Pin
DaveyM699-Feb-09 11:20
professionalDaveyM699-Feb-09 11:20 
GeneralRe: Quick Question Pin
MrMcIntyre9-Feb-09 11:50
MrMcIntyre9-Feb-09 11:50 
GeneralRe: Quick Question Pin
Dave Kreskowiak9-Feb-09 12:09
mveDave Kreskowiak9-Feb-09 12:09 
GeneralRe: Quick Question Pin
MrMcIntyre10-Feb-09 6:07
MrMcIntyre10-Feb-09 6:07 
Questioncalculator application Pin
lenboy109-Feb-09 10:24
lenboy109-Feb-09 10:24 
I was hoping someone could help me out in my search to code a calculator that would allow me to create something similar to a national debt calculator. I'm referring to the never-ending calculation of a nation's debt. See this link for an example: http://www.babylontoday.com/national_debt_clock.htm

The use I require this for is a bit different, but the principal is the same. All data entered would be calculated and continuously added to the displayed total. My purpose is an increased pollution meter.

A quick explanation: my local city council is removing two lanes of traffic from a bridge to use for bicycles and it's going to tie up traffic like crazy. I'm trying to put together a campaign to change the bridge back and this calculator will be integral to any success we could have.

Here is a breakdown of the calculation and data I will use to calculate the total I would like displayed as it increases.

a*b*c=d

a = number of cars per hour, minute or second that use the bridge. There will be 16 different hourly totals per day for all 7 days of each week. I will change these totals as traffic numbers are calculated by the city. To start they would be fixed, but I would require the ability to enter as often as I need to change them as traffic patterns change.

b = increase in minutes of each car's commute through the area. This as well will be input once per hour for 16 hours for all 7 days each week. Volunteers in their cars will supply their time which will then be input by myself. So, before the changes an average commute may take 10 minutes to get through the area. After the changes, if the commute is now 18 minutes, 8 minutes would be entered for b.

c = average carbon emissions by minute (0.048kg or 0.11 pounds/minute). This will be the only fixed number, in lieu of having drop down menus for each year/make/model of cars as found on carbon footprint sites.

d = total and needs to count continuously like the national debt calculator for a more dramatic effect.

Also, rather than having the calculator display a unit of measure, which in this case is carbon, I'd just like none. The reason being that I'd like to use this same calculator 2x, and change the 'c' in the equation to total the extra gas tax the government is making by increasing people the amount of gas wasted as they sit in their cars stuck in traffic. So the second calculator would be monetary.

I see this project would have two parts (front and back ends), one for me to input the numbers as I get them, while the second is the continuous tally and would be displayed for all to see on a web site built for the campaign. The tally meter needs to have a web 2.0 modern look as this will get HUGE attention in the media in my city.

I've had a tough time finding anything close to what I need on the net, and my thoughts are that my internet searches have been fruitless because I'm unaware of the proper name for such a calculator.

Not sure what language would be best for this application or where to begin. Need help and advice.

Anyone............thanks in advance.
AnswerRe: calculator application Pin
DaveyM699-Feb-09 10:39
professionalDaveyM699-Feb-09 10:39 
GeneralRe: calculator application Pin
lenboy109-Feb-09 10:50
lenboy109-Feb-09 10:50 
GeneralRe: calculator application Pin
DaveyM699-Feb-09 10:58
professionalDaveyM699-Feb-09 10:58 
GeneralRe: calculator application Pin
PIEBALDconsult9-Feb-09 12:32
mvePIEBALDconsult9-Feb-09 12:32 
Questionpreventing being closed from task manager [modified] Pin
erfi9-Feb-09 10:17
erfi9-Feb-09 10:17 
AnswerRe: preventing being closed from task manager Pin
DaveyM699-Feb-09 10:21
professionalDaveyM699-Feb-09 10:21 
GeneralRe: preventing being closed from task manager Pin
erfi9-Feb-09 10:38
erfi9-Feb-09 10:38 
GeneralRe: preventing being closed from task manager Pin
DaveyM699-Feb-09 10:43
professionalDaveyM699-Feb-09 10:43 
AnswerRe: preventing being closed from task manager Pin
Dave Kreskowiak9-Feb-09 10:37
mveDave Kreskowiak9-Feb-09 10:37 
AnswerRe: preventing being closed from task manager Pin
Dan Neely9-Feb-09 10:40
Dan Neely9-Feb-09 10:40 
GeneralRe: preventing being closed from task manager Pin
erfi9-Feb-09 10:49
erfi9-Feb-09 10:49 
AnswerRe: preventing being closed from task manager Pin
erfi9-Feb-09 11:08
erfi9-Feb-09 11:08 
GeneralRe: preventing being closed from task manager Pin
Christian Graus9-Feb-09 11:48
protectorChristian Graus9-Feb-09 11:48 
GeneralRe: preventing being closed from task manager Pin
erfi11-Feb-09 22:59
erfi11-Feb-09 22:59 
AnswerRe: preventing being closed from task manager Pin
harold aptroot9-Feb-09 11:54
harold aptroot9-Feb-09 11:54 
AnswerRe: preventing being closed from task manager Pin
PIEBALDconsult9-Feb-09 12:41
mvePIEBALDconsult9-Feb-09 12:41 
QuestionA doubt about framework 2.0, please help me.... Pin
pocho21019-Feb-09 9:55
pocho21019-Feb-09 9:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.