How clearly describe algorithm to compute values of c and k

Assignment Help Computer Engineering
Reference no: EM133658982

Problem

A research team in oceanography has a probe that sends back temperature readings at regular time intervals. Unfortunately, they think the probe is faulty: not only does the team not know how "regular time intervals" is supposed to be defined, but they think some of the measurements haven't been transmitted and are therefore missing from the received data.

The input to your algorithm will be an array A of of measurement times. For simplicity, we will assume each time is a non-negative integer. If the measurements don't exclude any data, then the array A will be of the form [a1, a1 + c, a1 + 2c, . . . , a1 + (n - 1)c], where A has length n (for n ≥ 2) and c is the (constant) time interval between two consecutive measurements. However let us suppose the probe failed to send k measurements, but that neither the first nor the last measurement were skipped. For example, the missing measurement times in [3, 6, 12, 18, 24, 27] might be 9, 15 and 21.

1. How to clearly explain why if you know the value of k, then you can determine the value of c?

2. Give an example f(K) that shows that if you are not told what k is, then you can not determine c, no matter how many values of the array you are given.

3. What if you are not told k, but you are given an upper bound K on its value. You will be able to determine c and k as long as the array you receive contains at least f(K) values. What is f(K), and why?

4. How to clearly describe an algorithm to compute the values of c and k, assuming you know K and are given an array with at least f(K) values?

5. What if you are told what k is. How to clearly describe an efficient algorithm that takes as input the array and the value of k, and returns an array containing all the missing values.

Reference no: EM133658982

Questions Cloud

Describe current treatment and prevention strategies : Describe current treatment and prevention strategies for the identified diseases. describe the clinically significant chronic and infectious disease states
Describe why you selected this example : Define the following terms and include examples: civility and incivility. Describe strategies to promote civility for the nurse-to-client, nurse to nurse
Which algorithm is designed to recursively generate item : Which algorithm is designed to recursively generate item sets that exceed a predetermined frequency threshold; the term support of the item or item set.
Write a personal experience statement of lab scientist : How these experiences have led to the achievement and demonstration of competency equivalent to that of a Medical Laboratory Scientist in Blood Bank department
How clearly describe algorithm to compute values of c and k : How to clearly describe an algorithm to compute the values of c and k, assuming you know K and are given an array with at least f(K) values?
How do you respond to the request for the crestor refill : How do you respond to the request for the Crestor refill? Identify the medication therapy issues that should be addressed in clinic today.
How would you collaborate with the information security : How would you collaborate with the information security staff about risk assessment contingency planning and data recovery procedures
Identify what the total body surface area : Explain in detail how would assess if the fluid resuscitation was working and Identify what the total body surface area (TBSA) is for Rachel using the Rule
Where they missed to recognise the issues : How can I address that this is where they missed to recognise the issues and patient got deteriorated (failure to rescue) ??

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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