Question: C Programming #include The Nerdgeek family is interested in purchasing solar panels on their house. They are unsure what size they wish to purchase so
C Programming
#include
The Nerdgeek family is interested in purchasing solar panels on their house. They are unsure what size they wish to purchase so they ask you to calculate the savings for different sized systems. They are most interested in what the average savings will be each year and how many years will it take to recoup their investment. They have asked you to write a program for them to calculate these figures. Joseph and Mary Nerdgeek currently live in Geekville, ND, which is just outside of Bismark, but are thinking of moving to GeekTown, AZ. http://www.solardirect.com/pv/systems/gts/gts-sizing-sun-hours.html
The US Energy Information Administration shows the history since 2007 of the cost of electricity. You can find the cost of electricity for 2016 here. https://www.eia.gov/electricity/monthly/epm_table_grapher.php?t=epmt_5_3
There are possibly tax credits for installation depending on location. Find a tax credit for either Geekville, ND, or Geektown, AZ and use that in your program to determine a credit amount. Geekville, ND has a zip code of 58554 and Geektown, AZ has a zip code of 85024. You will need to look for the tax credits for solar. You must put a comment in the code with the URL of what tax credit you used. http://www.dsireusa.org/
Assume that the Nerdgeeks use an average of 1kW per hour, except during the months of December through February, when they run their hot tub and use an additional 10.3 kWh per day; and July and August, when they run their air conditioner and use an additional 3.5 kW for 16 hours a day. Use these figures to calculate their total usage per year.
Assume that the cost for purchase and installation is $8.00 per watt.
Write a program that will ask the user to enter what size solar panel system in kWh they use and the average number of hours of sunlight they receive. Calculate and display:
- The average number of kWh used per month
- The total number of kWh used per year
- The cost of the solar panel system they wish to purchase
- Amount of tax credit (dont forget the comment in your code)
- Total cost of panel system after tax credit
- What their average monthly savings would be
- What their total yearly savings would be
- How many years it would take to recoup the cost of their panels
You must comment your code and make your output professional. Make sure your code follows the standard template for coding and your variable names are meaningful. You must use at least 3 symbolic constants
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
