Questions
n a random sample of seven ​people, the mean driving distance to work was 19.5 miles...

n a random sample of seven ​people, the mean driving distance to work was 19.5 miles and the standard deviation was 4.3 miles. Assume the population is normally distributed and use the​ t-distribution to find the margin of error and construct a 95​% confidence interval for the population mean mu. Interpret the results

In: Statistics and Probability

A goose is flying south for the winter at a constant speed. Keep in mind that...

A goose is flying south for the winter at a constant speed. Keep in mind that one mile is 1.61 km , and one pound is 454 g . The goose has a mass of 16.4 lb (pounds) and is flying at 7.30 miles/h (miles per hour). What is the kinetic energy of the goose in joules?

In: Chemistry

A small radio transmitter broadcasts in a 30 mile radius. If you drive along a straight...

A small radio transmitter broadcasts in a 30 mile radius. If you drive along a straight line from a city 40 miles north of the transmitter to a second city 35 miles west of the transmitter, during how much of the drive will you pick up a signal from the transmitter?

In: Math

A small radio transmitter broadcasts in a 48 mile radius. If you drive along a straight...

A small radio transmitter broadcasts in a 48 mile radius. If you drive along a straight line from a city 59 miles north of the transmitter to a second city 56 miles east of the transmitter, during how much of the drive will you pick up a signal from the transmitter?

In: Advanced Math

The number of miles a motorcycle, X, will travel on one gallon of gasoline is modeled...

The number of miles a motorcycle, X, will travel on one gallon of gasoline is modeled by a normal distribution with mean 44 and standard deviation 5. If Mike starts a journey with one gallon of gasoline in the motorcycle, find the probability that, without refueling, he can travel more than 50 miles.

In: Statistics and Probability

You have been recording how many miles you get per tank of gas, and you have...

You have been recording how many miles you get per tank of gas, and you have found a mean of 297 and a standard deviation of 23. Use this information to answer the following question.

What is the probability you will get 300 miles out of a tank of gas?

In: Statistics and Probability

A rocket took 300 days to travel 780,000,000 km. It carried 200. tons of propellant (density...

A rocket took 300 days to travel 780,000,000 km. It carried 200. tons of propellant (density 0.986 g/mL

a) What is this in miles per hour?

b) Express the fule efficiency in miles per gallon.

Please write out the steps needed to calculate this. Thank you.

In: Chemistry

the tread of life of a particular brand of tire is a random variable best described...

the tread of life of a particular brand of tire is a random variable best described by a normal distribution with a mean of 70000 miles and a standard deviation of 9300 miles. what warranty should the company use if they want 89.25% of the tires to outlast the warranty? round to the nearest integer. (show work please)

In: Statistics and Probability

Python While traveling home for the holiday, you wondered how much time you'd save if you...

Python

While traveling home for the holiday, you wondered how much time you'd save if you drove faster. The distance home is 120 miles, and you decided to compare driving 55 mph versus 70 mph. You also wondered if driving faster around town really saves you that much time. The around-town distance you chose was 5 miles, using speeds of 25 and 35 mph. Of course, you decided that no amount of times savings is worth the risk to yourself or others, but you still wanted to find the answer.

Create two functions to help calculate the travel time in hours, minutes and seconds and to display the results.

# Calculate travel time in minutes given the distance in miles and the speed in mph
calc_travel_time ( distance, speed )

# Output the travel time hours, minutes and seconds given distance and speed
print_travel_time ( distance, speed )

Your Python solution must include the following:

  • The calc_travel_time() function will return the travel time in minutes
  • The print_travel_time() function will use (call) the calc_travel_time() function, and will determine the actual time in hours, minutes and seconds, using the int() and round() Python functions
  • Include the single line comment above each function
  • Comment the test section of your program
  • Include the standard class ''' comment section at the top of your file
  • Include a section called References that lists the web site reference link

Tip:

Expected output:

To travel 120 miles at 55 MPH will take 2 hr, 10 min and 55 sec
To travel 120 miles at 70 MPH will take 1 hr, 42 min and 51 sec
To travel 5 miles at 25 MPH will take 0 hr, 12 min and 0 sec
To travel 5 miles at 35 MPH will take 0 hr, 8 min and 34 sec

In: Computer Science

in BASIC language, i need to make function smallMiles(size) display the smallest number in the MilesDriven...

in BASIC language, i need to make function smallMiles(size) display the smallest number in the MilesDriven array . here is my code so far:

size =1
Dim Monthname$(size)
Dim MilesDriven(size)

do
print "Enter your choice from this menu."
print "Enter 'P' to enter miles and month,OR"
print "Enter 'S' to search for month. OR,"
print "Enter 'M to search month with smallest miles. OR,"
print "Enter 'L' to search for month with largest miles. OR,"
print "Enter 'E' to exit."
input choice$
select case (choice$)
case "P","p"
res= collectData(size)
case "S","s"
res = search(size)
case "M","m"
res = smallMiles(size)
case "L","l"
res = largeMiles(size)
case "E","e"
print "Have a nice day.Goodbye."
case else
print "Invalid choice, please try again"
print
end select
loop until (choice$ = "E" or choice$ = "e" )

function collectData(size)
for position= 0 to size
print "Enter miles."
input MilesDriven(position)
print "Enter month."
input Monthname$(position)
next
end function

function search(size)
print "Enter month."
input month$

for position = 0 to size
if(month$ = Monthname$(position))then
print "The month is: ";Monthname$(position)
print "The number of miles driven is: ";MilesDriven(position)
exit for
end if
next
end function

function smallMiles(size)
print "Enter month."
input month$

for position = 0 to size
smallest = MilesDriven(position)
if (month$ = Monthname$(position))then
if (MilesDriven(position) < smallest )then
smallest = MilesDriven(position)
end if
print "The month with smallest miles driven is: ";Monthname$(position)
print "The smallest miles driven is: ";smallest
exit for
end if
next
end function

In: Computer Science