1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alex
3 years ago
13

Write a function that takes in two parallel lists: a list of times (in increasing order), and a list of distance traveled by tha

t point in time. The function should return a new list giving the average velocity between consecutive time measurements. The new list should have length one less than the original lists.
Computers and Technology
1 answer:
Georgia [21]3 years ago
7 0

Below is the function that takes two parallel lists;

List of times in increasing order and that of distance travelled by that point in time.

I put into consideration the instructions given in the question.

ANSWER;

def find_velocity(time, distance):

velocities = []

for i in range(1, len(time)):

velocities.append((distance[i] - distance[i - 1]) / (time[i] - time[i - 1]))

return velocities

times are = [1, 3, 5, 7]

distances are = [25, 29, 35, 70]

print(find_velocity(times, distances))

You might be interested in
Cryptography has requirements include:
ki77a [65]

Answer:

A

Explanation:

Cryptography is the study of secure communications techniques that allow only the sender and intended recipient of a message to view its contents. ... When transmitting electronic data, the most common use of cryptography is to encrypt and decrypt email and other plain-text messages.

4 0
3 years ago
If there are negative consequences for doing the right thing, how can I
Fofino [41]

Remind yourself you did the right thing. No matter what people tell you, remind yourself you did what you thought was best, and that's extremely important.

3 0
3 years ago
These steps describe the procedure to delete files from your computer.
bearhunter [10]
1 Select the file to be deleted
2 select delete from the file menu
3 click on the recyclebin
4 click on the delete icon
6 0
3 years ago
Read 2 more answers
Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?​
Mars2501 [29]

Answer:

2p

Explanation:

if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p

6 0
3 years ago
A 16 x 2 audio console has (A) 16 inputs and 2 outputs (B) 16 slide faders and 2 monitor systems (C) 16 VU meter
IRINA_888 [86]

Answer:

(A) 16 inputs and 2 outputs.

Explanation:

An audio signal can be defined as a representation of sound, either as an analog or digital signals. An analog audio signal refers to a continuous signal that is represented by a changing level of quantity such as voltage with respect to time. sequence of bits such as 16kbps, 32kbps, 64kbps, 96kbps, 128kbps, 196kbps, and 320kbps. Kbps means kilobits per seconds.

A speaker can be defined as an electronic output device that is typically used for the conversion of an electromagnetic wave to sound wave.

Basically, this conversion is done through the help of a hardware electronic component known as transducers.

The main purpose of a speaker is to produce an audio output and as such avail the computer users an ability to hear or listen to sounds.

Similarly, an audio console is an electronic device that is designed for combining or mixing audio signals received from multiple audio sources and sends them out as one.

Thus, a 16 x 2 audio console has 16 inputs for receiving sixteen (16) audio signals and sends them out as 2 outputs.

6 0
3 years ago
Read 2 more answers
Other questions:
  • How can investors receive compounding returns
    13·1 answer
  • In the FEMA case study, the BureauNet software was the primary reason behind the increased speed and relevance of the reports FE
    15·2 answers
  • Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow
    8·1 answer
  • Consider the following statement: ptrMemberVarType objectThree(objectOne); The values of the member variables of objectOne are b
    10·1 answer
  • ________ uses shared computing resources instead of having local servers or devices to handle computing applications.
    11·1 answer
  • Look at the data set below. {6, 7, 12, 5, 7, 11, 10, 7, 6} In this data set, what is the mode?
    9·2 answers
  • [Assembly Language]Extended Subtraction Procedure.Create a procedure named Extended_Sub --(Receives: ESI and EDI point to the tw
    12·1 answer
  • Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should NOT
    10·1 answer
  • Marc is creating a physical design, what aspect of the design deals with the interaction between a user and data?
    15·1 answer
  • Which of the following shows how to correctly declare pointer variable x?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!