Write a Python code for three different tasks

  • Stanje: Closed
  • Nagrade: $70
  • Prejetih vnosov: 11
  • Zmagovalec/ka: artkulak

Navodila natečaja

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.

Priporočene spretnosti

Delodajalčev feedback

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

Profilna slika solicia2018, United States.

Najboljši vnosi tega natečaja

Poglej več vnosov

Javna tabla za pojasnila

  • XNamanX
    XNamanX
    • pred 4 let

    All the three needs to be completed?

    • pred 4 let
    1. solicia2018
      Nosilec natečaja
      • pred 4 let

      Hello yes.

      • pred 4 let
  • sudhanshurockyha
    sudhanshurockyha
    • pred 4 let

    The download link to csv is not working

    • pred 4 let
  • kavipadm
    kavipadm
    • pred 4 let

    #guaranteed

    • pred 4 let
  • samalmarbek
    samalmarbek
    • pred 4 let

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

    • pred 4 let
    1. ahmadshakeel350
      ahmadshakeel350
      • pred 4 let

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

      • pred 4 let
    2. solicia2018
      Nosilec natečaja
      • pred 4 let

      Hello, Adilet. No there's no restriction.

      • pred 4 let
  • stefanache
    stefanache
    • pred 4 let

    your budget is very low

    • pred 4 let

Pokaži več komentarjev

Kako začeti z natečaji

  • Objavi ta natečaj

    Objavi svoj natečaj Hitro in preprosto

  • Prejmi na tone vnosov

    Prejmi na tisoče vnosov S celega sveta

  • Dodeli natečaj najboljšemu vnosu

    Dodeli natečaj najboljšemu vnosu Prenesi datoteke - Preprosto!

Objavi natečaj zdaj ali pa pridruži se nam še danes!