Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use matlab coding please 3. There are 100 runners in the Amherst 5k Hot Chocolate race; let's label them by jersey numbers 1 to 100.

Use matlab coding please image text in transcribed
3. There are 100 runners in the Amherst 5k Hot Chocolate race; let's label them by jersey numbers 1 to 100. To simulate this race, make a 1D array consisting of 100 entries with random finishing times that are uniformly distributed between 20 and 30 minutes. Each entry in this array corresponds to the finishing time for each runner, e.g., entry #29 is the finishing time for runner 29. Using only array operations and/or array functions: a. Print the top three finishing times; your output could look something like this: Top three finishing times: 20.2094 21.6666 21.8455 b. Print the top three runners; your output coould look something like this: Top three runners: 62 37 88 [Hint: zyBooks Sec 6.7] c. If 25 minutes is the qualifying time for the Hampshire county 5k race, use logical operators to calculate how many runners qualified for the county race

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entity Alignment Concepts Recent Advances And Novel Approaches

Authors: Xiang Zhao ,Weixin Zeng ,Jiuyang Tang

1st Edition

9819942527, 978-9819942527

More Books

Students also viewed these Databases questions

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago

Question

Is there a clear hierarchy of points in my outline?

Answered: 1 week ago