Question: 6. Write a script that will generate a vector of 10 random integers, each in the inclusive range of 1 to 100. If the integers

 6. Write a script that will generate a vector of 10
random integers, each in the inclusive range of 1 to 100. If

6. Write a script that will generate a vector of 10 random integers, each in the inclusive range of 1 to 100. If the integers are evenly distributed in this range, then when arranged in order from the lowest to the highest, they should fall on a straight line. To test this fit a straight line through the points and plot both the points and the line with a legend

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!