Write a Python code for three different tasks
- État: Closed
- Prix: $70
- Propositions reçues: 11
- Gagnant: artkulak
Résumé du concours
I have three tasks/ questions that I need to solve by using Python. The level of code needs to be fairly easy. This is an urgent contest, and I would need answers by next Monday.
The three tasks are as follows:
Task 1: A Monetary Calculation
If you have $200 in your pocket, and you see a shelf with a long row of foobars priced at $1, $1.2, $1.44, $1.73 and so forth. Every foobar costs 20% more than the previous one. You buy one of each foobar, starting with the one that costs $1, until you can't afford the next foobar on the self (the foobars are ordered by price). How many foobars can you buy, and how much change will you get? Your task is to write a small routine to solve this problem, and report the results.
Note: Since we are talking about money (dollars and cents), there are only two decimals used in each price.
Task 2: Organizing Data
Attached you find a file ‘UK Temperatures.csv’. This file contains temperature measurements for six weather stations located in the UK. What we are looking for is a single average temperature value for the UK for each day. The weights of the individual weather stations are:
Bice Norton 0.14
Herstmonceux 0.10
Heathrow 0.30
Nottingham 0.13
Shawbury 0.20
Waddington 0.13
Please write a program that calculates daily average temperatures for the UK from the temperatures in the file, correcting for missing data as best as possible. Design the program in such a way that a new set of measurements can be processed easily and efficiently as new weather data come in.
Task 3: Data Analysis
In the residential sector, natural gas is used almost exclusively for space heating, cooking and water boilers. Residential gas demand therefore shows a strong seasonality and a dependence on cold weather.
Attached are two data files: Temperatures South Carolina.csv with daily average temperatures in degree Fahrenheit from 01/01/2013 to 03/31/2017 and Residential Demand South Carolina.csv with monthly residential gas demand in Billion cubic feet (Bcf) per month from January 2013 to December 2016.
Based on these data, create a residential natural gas demand forecast for January-March 2017. You get extra credit, if you can also provide us with an assessment of daily natural gas demand for each day during this period. Give an explanation of your methodology and a discussion of potential problems.
Hint: you might need to transform the temperature data for best results.
Compétences recommandées
Commentaire de l'employeur
“Very professional, the work he provided was very clean and efficient. Will definitely consider hiring him again.”
solicia2018, United States.
Meilleures propositions de ce concours
-
artkulak Russian Federation
-
MHMA98 Sri Lanka
-
NuimIT Argentina
-
marcellomon Taiwan
-
Nacho1993 Spain
-
Nacho1993 Spain
-
Nacho1993 Spain
-
ManiSolTech Pakistan
-
monicamec Spain
-
hasanabeer609 Bangladesh
-
JiaMing1126 Malaysia
Tableau de clarification publique
Comment commencez des concours
-
Publiez votre concours Rapide et facile
-
Obtenez des tonnes de propositions De partout dans le monde
-
Attribuez la meilleure proposition Télécharger les fichiers - Facile !