Take the temperature readings

Assignment Help C/C++ Programming
Reference no: EM132619196

A script to grab CPU temperature data every 30 seconds has been created. This resulted in three sets of data:

sensors-2018.12.26.txt
sensors-2019.01.26.txt
sensors-2019.02.09.txt

Click on each item to view raw text file.

Each of the encoding jobs ran for 5 to 10 hours. If you look at the data you see four temperatures for each reading. My CPU is a 4-core (8 thread) Intel i7-6700K. I found myself interested in not only the behavior of the readings, but also in the temperature differences between the 4 CPU cores.

Your task is to take the temperature readings and generate for each core:
1. A piecewise linear interpolation.
2. A global linear least squares approximation.
3. A cubic spline (or other non-linear) interpolation.

Program Arguments & Execution
Your program must accept an input filename as the first command line argument. Your program must NOT prompt the user for a filename.

1 Input Format
Data takes the form of temperatures in a txt file. All data points are whitespace delimited. For example, if I had 5 temperature readings:

would be a possible input files. Each line represents temperature readings from 4 processor cores. Process each temperature column independently. Readings are taken every 30 seconds. In this example:
• line 1 is 0 sec
• line 2 is 30 sec,
• line 3 is 60 sec.
• line 4 is 120 sec.
• line 5 is 180 sec.
Your first step should be to pre-process this data into a usable form. Conceptually, you need the data in the following format:

Programming Requirements & Constraints
o Provide a brief ReadMe file that specifies how to compile and
o Provide makefiles (or equivalent build files) for any compilable code.

Design & Style Requirements
• All code must follow best practices for:
o Indentation and spacing
o Naming conventions
o Top-down design (i.e., no monolithic functions)

Documentation Requirements

All code must be properly and fully documented using a language appropriate comment style. All functions (including parameters and return types) must be documented.

1. Doxygen can be used for C++

Attachment:- temperature_reading.rar

Reference no: EM132619196

Questions Cloud

How much of the expenses will be deductible : How much of these expenses will be deductible when figuring net income for income tax after allocation to the excluded parsonage allowance?
What richie can an ordained minister : Richie is an ordained minister. His church provides him a housing allowance, all of which he spends to rent his home and pay his utilities. Richie can
How the nation laws affect the operations of the business : Once you have selected your ethical theory and your case category, articulate the characteristics of the economic system (or combination of both systems).
How are clergy housing allowances : How are clergy housing allowances and the fair rental value of provided housing treated for tax purposes? the amounts are included in gross income
Take the temperature readings : Task is to take the temperature readings and generate for each core - A global linear least squares approximation
Prepare the journal entries to account for lease transaction : Prepare the journal entries to account for the lease transaction in the books of the lessee, Deliveries Ltd, at 1 July 2019 and 30 June 2020
How laws can make or break innovation in business : Your initial post in this discussion must be informed by the required material for this discussion. The required material for this discussion will introduce.
Which is considered nonpassive income : Which is considered nonpassive income? Income from a trade or business in which the taxpayer does not materially participate.
Prepare all journal entries required for petal patent : Prepare all journal entries required for Petal's patent for the year ended December 31, 2020. Petal Powerwash is a company that does home maintenance services.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd