Questions
Dylan Jones kept careful records of the fuel efficiency of his new car. After the first...

Dylan Jones kept careful records of the fuel efficiency of his new car. After the first seven times he filled up the tank, he found the mean was 20.9 miles per gallon (mpg) with a sample standard deviation of 0.7 mpg.

  1. Compute the 95% confidence interval for his mpg. (Use t Distribution Table.) (Round your answers to 3 decimal places.)

confidence interval for is mpg ____ and _____.

  1. How many times should he fill his gas tank to obtain a margin of error below 0.10 mpg? (Use z Distribution Table.) (Round your answer to the next whole number.)

sample size ___

In: Statistics and Probability

Exhibit Symptom of COVID-19 Study shows that about 70% of the COVID-19 patients have a dry...

Exhibit Symptom of COVID-19

Study shows that about 70% of the COVID-19 patients have a dry cough (which does not bring up any mucus or phlegm). To use hypothesis testing method to check the credibility of this study, you randomly surveyed 25 patients of COVID-19 and 18 of them answered that they are having dry cough.

1. Refer to Exhibit Symptom of COVID-19. What is the value of the test statistics?

2. Refer to Exhibit Symptom of COVID-19. Which of the followings CAN be used to calculate the answer in Question 6? (Select ALL that apply.)

-2*(1 - NORM.DIST( sample proportion, 0.7, std. dev. of population, 1 ))

-2*(1 - NORM.DIST( 18/25, 0.7, sqrt(0.7*0.3/25), 1 ))

-T.DIST.2T( t-test, 24)

-2*T.DIST.RT( (18/25 - 0.7)/(sqrt(0.7*0.3/25)), 24 )

-1 - BINOM.DIST.RANGE(25, 0.7, 25*0.7-0.5, 25*0.7+0.5)

-2*(1 - NORM.DIST( z-test, 0, 1, 1) )

-2*NORM.S.DIST( z-test, 1)

-2*NORM.DIST( 18/25, 0.7, sqrt(0.7*0.3/25), 1 )

-2*(1 - NORM.S.DIST( z-test, 1))

3. In this question, the symbol "<=" means "", and ">=" means "".

Suppose you the significance level you have chosen is α=0.09. This corresponds to a critical value to be  [ Select ] . Hence, you will  [ Select ] the null hypothesis H0. And conclude that, from this sample of 25 patients, there is  [ Select ] to say that the population proportion of dry cough symptom is  [ Select ] . This is because the p-value is  [ Select ] the α value, and the relationship between the test statistic and the critical value is  [ Select ] .

In: Statistics and Probability

Suppose that you have isolated the enzyme sucrase (able to hydrolyze sucrose into glucose and fructose),...

Suppose that you have isolated the enzyme sucrase (able to hydrolyze sucrose into glucose and fructose), and you wish to determine the nature of inhibitor A for this enzyme. You have prepared five different concentrations of substrate (sucrose), and five different concentrations of inhibitor A (plus the control, with zero mM of inhibitor A). The following Table lists the inhibitor A concentrations [I], substrate concentrations [S], and resulting enzyme velocities (Vo) for all six of these experiments:

[I]

[S]

Vo

1/[S]

1/ Vo

0 mM

0.1 mM

0.333333333333 mM per minute

0 mM

0.2 mM

0.50

0 mM

0.3 mM

0.60

0 mM

0.4 mM

0.666666666667

0 mM

0.5 mM

0.714285714286

0.1 mM

0.1 mM

0.20

0.1 mM

0.2 mM

0.333333333333

0.1 mM

0.3 mM

0.428571428571

0.1 mM

0.4 mM

0.50

0.1 mM

0.5 mM

0.555555555556

0.20 mM

0.1 mM

0.142857142857

0.20 mM

0.2 mM

0.25

0.20 mM

0.3 mM

0.333333333333

0.20 mM

0.4 mM

0.40

0.20 mM

0.5 mM

0.454545454545

0.3 mM

0.1 mM

0.111111111111

0.3 mM

0.2 mM

0.20

0.3 mM

0.3 mM

0.272727272727

0.3 mM

0.4 mM

0.333333333333

0.3 mM

0.5 mM

0.384615384615

0.40 mM

0.1 mM

0.090909090909

0.40 mM

0.2 mM

0.166666666667

0.40 mM

0.3 mM

0.230769230769

0.40 mM

0.4 mM

0.285714285714

0.40 mM

0.5 mM

0.333333333333

0.5 mM

0.1 mM

0.076923076923

0.5 mM

0.2 mM

0.142857142857

0.5 mM

0.3 mM

0.20

0.5 mM

0.4 mM

0.25

0.5 mM

0.5 mM

0.294117647059

Construct a Michaelis-Menten plot, and a Lineweaver-Burk plot, for all six of these experiments on the same graph (for each plot). Calculate the Vmax, the Km, and the slope (Vmax/Km ) for the control (with [I] = 0 mM) and for each non-zero concentration of inhibitor A ([I] = 0.1, 0.2, 0.3, 0.4, and 0.5 mM). Which type of reversible enzyme inhibition is illustrated by inhibitor A?

Since many of you do not have scanners or cameras to send me an e-mail image of your graphs, the grading of this assignment will be based entirely on your calculations. I will be looking for your six Vmax calculations (6 points), your six Km calculations (6 points), your six Vmax/Km or slope of the line calculations (6 points), and the type of reversible enzyme inhibition that you identify for inhibitor A, along with reasons to justify your identification (2 points).

In: Biology

JAVA PROBLEM Part 1: Create a Car class in accordance with the following specifications. I will...

JAVA PROBLEM

Part 1: Create a Car class in accordance with the following specifications. I will provide the CarClassTester class as a test driver to test your Car class for its basic structure. Do not change the CarClassTester class source code. After you get your Car class working correctly using this test driver, proceed to part 2 below.

Car Class Specifications:

The Car class must be in a separate package from any driver/tester program.

The Car class will contain, at a minimum, the following information as constants (in Java use final to specify a constant):

  • make
  • model
  • year
  • fuel tank size
  • fuel economy – fuel economy at best speed
  • optimal speed – speed at which the car has the most efficient fuel economy

You will need other fields besides those listed above. These other fields will not be constants. Some of the other fields:

  • odometer
  • trip odometer
  • color
  • fuel level

The Car class will also need at least 3 constructors:

  • Car() – a no argument constructor that initializes an instance using random values. Similar to what we did with the Dog class.
  • Car(String, String, String, int, double, double, double) – accepts arguments to initialize the new Car object with make, model, color, year, tank size, fuel economy, and best speed. You should also initialize the two odometers and the fuel level.
  • Car(Car) – accepts a Car argument to initialize the same state variables in the new Car object as in the Car(String, String, String, int, double, double, double) constructor.

The Car class must implement the following methods.

public fillTank(double): double

  • Adds fuel to the car's fuel tank
  • Precondition: Car has a fuel tank
  • Postcondition: Car's fuel tank may have added fuel
  • Parameter available fuel to fill tank
  • returns: Negative number indicating the amount of fuel the tank will still take, Positive nonzero value of the amount of argument fuel not used, if 0 it just filled the tank

public toString():String

  • Converts the Car object's state variables to a String representation
  • Precondition: All state variables are initialized
  • Postcondition: no change
  • Returns a string representation of state variables

public equals(Car):boolean

  • Checks to see if the calling Car and the argument Car have the same state
  • Precondition: Both the calling Car and argument Car are fully initialized
  • Postcondition: no change
  • parameter pCarObject
  • returns true if the calling Car and the argument Car have the same state values for year, make, and model, else returns false

public driveCar():boolean

  • drives the Car a predefined distance and speed.
  • Precondition: Car's trip state variables have been initialized
  • Postcondition: Car's fuel is reduced proportional to the distance and speed driven or depleted if the distance and speed are too great. Odometer and trip odometer are updated with the miles traveled added. Car's trip state variables distance of travel and speed of travel are set to zero.
  • Return: true if the car travels the distance with fuel remaining, false if the car runs out of fuel

public getTripOdometer():double

  • gets trip odometer
  • Precondition: none
  • Postcondition: no change of state
  • Return: double value of trip odometer to nearest tenth of mile

public clearTripOdometer():void

  • sets trip odometer mileage to 0.0
  • Precondition: none
  • Postcondition: trip odometer set to 0.0

public getOdometer():double

  • gets odometer mileage
  • Precondition: none
  • Postcondition: no change to state
  • Return: double value of odometer to nearest tenth of mile

public getFuelLevel():double

  • retrieves fuel level in gallons
  • Precondition: fuel level is initialized
  • Postcondition: no change in state
  • Return: fuel level in gallons with decimal values

public getFuelTankSize():double

  • retrieves fuel level in gallons
  • Precondition: fuel level is initialized
  • Postcondition: no change is state
  • Return: fuel level in gallons with decimal values

public setUpTrip(double, double): void

  • Car's state is set to hold the speed of travel and distance to travel at that speed
  • Precondition: none
  • Postcondition: Car's state holds information on distance to travel and speed to travel
  • Parameters: Average Speed to be driven, Distance to drive

Develop and use an algorithm that calculates the amount of fuel used and the accrued distance driven in the drive() method. The algorithm must use a formula that gives proportionately poorer mileage when the Car is driven faster or slower than its optimal speed. When a new Car object is instantiated, it is initialized with an optimal speed variable. Your fuel usage algorithm should set limits on how poor of MPG your car will get.

You may add other methods and fields as needed.

When a new Car object is created,

  • the car’s odometer is set to a random number between 0.0 and 5.99,
  • the car’s trip odometer is set to 0.0,
  • its best fuel economy (MPG) is set to a random number between 15.0 and 54.99,
  • its optimal speed is set to a random number between 45.0 and 64.99,
  • and its fuel tank size is set to a random number between 8 and 34.99 gallons.

Hint: Use “helper” methods to generate these random values.

  • Use Math.random( ) to generate your random numbers. Remember Math.random( ) generates a random double number from 0.0 to but not including 1.0.
    • So, to get a random number between 0.0 and 99.99 you must multiply the result of Math.random( ) by 100.
    • To get a random number between 5 and 15(excluding 15), subtract 5 from 15 to get 10, multiply Math.random() by 10 then add 5.
    • Example: If Math.random( ) produced 0.4584, multiplying it by 10 would produce 4.584. Then adding 5 would produce 9.584, which is a value between 5 and 15.

Since the new class Car inherits the .equals() and .toString() methods from the Java Object class, you will need to overload the .equals( ) method and override the .toString( ) method.

Part 2:

After you are comfortable with the Car class, create a driver program, CarTestDriver that has a garage, an instantiation of a Garage class that contains an array of Car types. You must use a Car[] not an ArrayList<Car> in the garage. You will use Car objects to fill the garage. I suggest setting up the Car class with a default constructor that generates random values to create each new Car object.

The rules for driving the cars from the garage are:

  • The size of the garage is specified by the user.
  • The user may only use cars from the garage
  • The user interacts with the Car object after the Car object is retrieved from the garage.
  • If a car is driven and runs out of fuel while it is being driven it is removed from the garage
  • The user may not use a car that has been removed from the garage.
  • The program should not fail due to a user selection.
  • A car may only be refueled when the user retrieves it from the garage
  • The user may select to drive any car that is currently in the garage
  • The user is the only one that may request that a car be refueled(do not refuel a car automatically)
  • The program may not prompt the user to refuel, however, when a car is selected from the garage you may display a menu of options for the user to choose from that includes a refueling option.
  • The user sets up the drive by entering in the average speed and the driving distance.
    See the Car methods above.
  • the driving distance is the round-trip distance from the garage and back again.
  • The driver program is only allowed to use the public methods listed above, and those you create for the Garage class.
  • The user drives the car by telling that car to drive. Again, you may use menus to offer options to the user.

Example of running the car object tester:

Car One: 1927 Black Ford Model T

Car Two: 1923 Black Ford Model T

The two cars are different Car objects.

The two cars are not the same make, model, color, and year.

Car One: 1927 Black Ford Model T

Car Three: 1908 Red Ford Model T

The two cars are different Car objects.

The two cars are not the same make, model, color, and year.

Car One: 1927 Black Ford Model T

Car Clone: 1927 Black Ford Model T

The two cars are different Car objects.

The two cars are the same make, model, color, and year.

Car One: 1927 Black Ford Model T

Same Car object: 1927 Black Ford Model T

The two cars are in fact the same Car object.

The two cars are the same make, model, color, and year.

Let's take a car out for a drive!

1927 Black Ford Model T

Current fuel level in gallons is 31.9 gallons.

Fuel tank size is 31.9 gallons.

Current fuel level is 1.0 tank.

Odometer reading is 3 miles.

Trip Odometer reading is 0.0 miles.

We will drive the 1927 Black Ford Model T 100.4 miles at 45.6 miles per hour.

The state of the car you just drove.

1927 Black Ford Model T

Current fuel level in gallons is 29.0 gallons.

Fuel tank size is 31.9 gallons.

Current fuel level is 0.9 tank.

Odometer reading is 103 miles.

Trip Odometer reading is 100.4 miles.

Car One: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

Car Two: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 2.47 miles on the odometer, and 0.00 miles on the trip odometer.

The the two cars are different Car objects.

The the two cars are the same make, model, color, and year.

Car One: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

Car Three: 1903 Red Ford Model T, with 30.00 gallons of gas in the tank, 4.56 miles on the odometer, and 0.00 miles on the trip odometer.

The the two cars are different Car objects.

The the two cars are not the same make, model, color, and year.

Car One: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

Car Clone: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

The the two cars are different Car objects.

The the two cars are the same make, model, color, and year.

Car One: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

Same Car object: 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

The the two cars are in fact the same Car object.

The the two cars are the same make, model, color, and year.

Let's take a car out for a drive!

I have a garage with 3 cars.

Which car would you like to drive!

A) 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer.

B) 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 2.47 miles on the odometer, and 0.00 miles on the trip odometer.

C) 1903 Red Ford Model T, with 30.00 gallons of gas in the tank, 4.56 miles on the odometer, and 0.00 miles on the trip odometer.

Please select one of the menu choices.

a

You have chosen to drive the 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 1.84 miles on the odometer, and 0.00 miles on the trip odometer..

Please enter how far you would like to drive.

200

Please enter how fast you would like to drive.

55

Hooray, you did not run out of fuel!

Would you like to drive some more?

Please enter "yes" or "no".

yes

Let's take a car out for a drive!

I have a garage with 3 cars.

Which car would you like to drive!

A) 1903 Black Ford Model A, with 23.95 gallons of gas in the tank, 201.84 miles on the odometer, and 200.00 miles on the trip odometer.

B) 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 2.47 miles on the odometer, and 0.00 miles on the trip odometer.

C) 1903 Red Ford Model T, with 30.00 gallons of gas in the tank, 4.56 miles on the odometer, and 0.00 miles on the trip odometer.

Please select one of the menu choices.

a

You have chosen to drive the 1903 Black Ford Model A, with 23.95 gallons of gas in the tank, 201.84 miles on the odometer, and 200.00 miles on the trip odometer..

Please enter how far you would like to drive.

1000

Please enter how fast you would like to drive.

85

You only went 716.85 miles, before you ran out of gas.Oops, you ran out of fuel!

Would you like to drive some more?

Please enter "yes" or "no".

yes

Let's take a car out for a drive!

I have a garage with 3 cars.

Which car would you like to drive!

A) 1903 Black Ford Model A, with 0.00 gallons of gas in the tank, 918.69 miles on the oddometer, and 916.85 miles on the trip odometer.

B) 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 2.47 miles on the odometer, and 0.00 miles on the trip odometer.

C) 1903 Red Ford Model T, with 30.00 gallons of gas in the tank, 4.56 miles on the odometer, and 0.00 miles on the trip odometer.

Please select one of the menu choices.

c

You have chosen to drive the 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 2.47 miles on the odometer, and 0.00 miles on the trip odometer..

Please enter how far you would like to drive.

200

Please enter how fast you would like to drive.

55

Hooray, you did not run out of fuel!

Would you like to drive some more?

Please enter "yes" or "no".

no

The state of the cars are now.

A) 1903 Black Ford Model A, with 0.00 gallons of gas in the tank, 918.69 miles on the odometer, and 916.85 miles on the trip odometer.

B) 1903 Black Ford Model A, with 30.00 gallons of gas in the tank, 2.47 miles on the odometer, and 0.00 miles on the trip odometer.

C) 1903 Red Ford Model T, with 23.95 gallons of gas in the tank, 204.56 miles on the odometer, and 200.00 miles on the trip odometer.

In: Computer Science

Use Euler's method with each of the following step sizes to estimate the value of y(0.8),...

Use Euler's method with each of the following step sizes to estimate the value of y(0.8), where y is the solution of the initial-value problem: y' = y, y(0) = 5.

(i)    h = 0.8

y(0.8) = 9

(ii) h = 0.4

y(0.8) = 9.8

(iii)    

h = 0.2

y(0.8) = ?

The error in Euler's method is the difference between the exact value and the approximate value. Find the errors made in part (a) in using Euler's method to estimate the true value of y(0.8), namely 5e0.8.

(Round your answers to four decimal places.)

h = 0.8

error = (exact value) − (approximate value) = 2.1277

h = 0.4

error = (exact value) − (approximate value) = 1.3277

h = 0.2

error = (exact value) − (approximate value) = ?

In: Math

A tire manufacturer believes that the life of its tires follow a normal distribution with a...

A tire manufacturer believes that the life of its tires follow a normal distribution with a mean of 46,000 miles and a standard deviation of 4,000 miles. What mileage can he guarantee each tire to last so that 99% of the tires last longer than the guaranteed lifetime?

In: Statistics and Probability

Part A Find the kinetic energy of a 1.84×103 kg satellite in a circular orbit about...

Part A

Find the kinetic energy of a 1.84×103 kg satellite in a circular orbit about the Earth, given that the radius of the orbit is 1.46×104 miles.

Part B

How much energy is required to move this satellite to a circular orbit with a radius of 2.72×104 miles?

In: Physics

Refer to the Buena School District bus data ( 2012). Select the variable referring to the...

Refer to the Buena School District bus data ( 2012). Select the variable referring to the number ofmiles traveled last month, and then organize these data into a frequency distribution. a. What is a typical amount of miles traveled? What is the range? b. Comment on the shape of the distribution. Are there any outliers in terms of milesdriven? c. Draw a cumulative frequency distribution. Forty percent of the buses were driven fewerthan how many miles? How many buses were driven less than 850 miles? d. Refertothevariablesregardingthebustypeandthenumberofseatsineachbus.Drawa pie chart of each variable and comment on your findings

In: Statistics and Probability

A major automobile company claims that its New electric-powered car has an average range of more...

A major automobile company claims that its New electric-powered car has an average range of more than 100 miles. A random sample of 50 new electric cars was selected to test the claim. Assume that the population standard deviation is 12 miles. A 5% level of significance will be used for the test.

A) What would be the consequences of making a Type II error in this problem?

B) Compute the Probability of making a Type II error if the true population mean is 105 miles.

C) What is the maximum probability of making a Type I error in this problem?

In: Statistics and Probability

A manufacturer claims that the average tread life of a premium tire exceeds the average tread...

A manufacturer claims that the average tread life of a premium tire exceeds the average tread life of economy tire of the same size by at least 5000 miles. To test this claim, 50 pieces of each type of tires were tested under similar conditions. The premium tire had an average tread life of 43000 miles with a sample standard deviation of 2300, while economy tire had an average tread life of 37500 miles with a sample standard deviation of 1800. Test the manufacturer’s claim using a 0.05 level of significance. Calculate P-Value.

In: Statistics and Probability