Write a Python code for three different tasks

  • Állapot: Closed
  • Díj: $70
  • Beérkezett pályamű: 11
  • Nyertes: artkulak

A verseny összegzése

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.

Ajánlott készségek

Munkaadói értékelés

“Very professional, the work he provided was very clean and efficient. Will definitely consider hiring him again.”

Profilkép solicia2018, United States.

A verseny legjobb pályaművei

További pályaművek

Nyilvános pontosítófelület

  • XNamanX
    XNamanX
    • 4 év telt el

    All the three needs to be completed?

    • 4 év telt el
    1. solicia2018
      A verseny kiírója:
      • 4 év telt el

      Hello yes.

      • 4 év telt el
  • sudhanshurockyha
    sudhanshurockyha
    • 4 év telt el

    The download link to csv is not working

    • 4 év telt el
  • kavipadm
    kavipadm
    • 4 év telt el

    #guaranteed

    • 4 év telt el
  • samalmarbek
    samalmarbek
    • 4 év telt el

    Are we required to use any libraries (Pandas, NumPy or Scikit-Learn)? Or we shouldn't use any?

    • 4 év telt el
    1. ahmadshakeel350
      ahmadshakeel350
      • 4 év telt el

      I do not think there is any restriction. There is no point of rewriting something which is already available. (Personal point of view)

      • 4 év telt el
    2. solicia2018
      A verseny kiírója:
      • 4 év telt el

      Hello, Adilet. No there's no restriction.

      • 4 év telt el
  • stefanache
    stefanache
    • 4 év telt el

    your budget is very low

    • 4 év telt el

További hozzászólások

Így vágjon bele a versenyekbe

  • Tegye közzé a versenyét

    Indítson egy versenyt! Gyors és könnyű

  • Pályaművek százai várják

    Kapjon akár több száz pályaművet A világ minden szegletéből

  • Díjazza a legjobb pályázatot

    Díjazza a legjobb pályázatot Töltse le a fájlokat - csak egy kattintás!

Projekt közzététele vagy csatlakozzon hozzánk még ma!