### Calculating the amount of gasoline consumed

Assignment Help Basic Computer Science
##### Reference no: EM131235138

Automobiles have different fuel economies (mpg), and commuters drive different distances to work or school. Suppose that a state Department of Transportation (DOT) is interested in measuring the average monthly fuel consumption of commuters in a certain city. The DOT might sample a group of commuters and collect information on the number of miles driven per day, number of driving days per month, and the fuel economy of their cars. Develop a predictive model for calculating the amount of gasoline consumed, using the following symbols for the data.

G = gallons of fuel consumed per month

m = miles driven per day to and from work or school

d = number of driving days per month

f = fuel economy in miles per gallon "

Suppose that a commuter drives 30 miles round trip to work 20 days each month and achieves a fuel economy of 34 mpg. How many gallons of gasoline are used?

#### What is the probability of net loss of the whole packet

Suppose an IP packet is fragmented into 10 fragments, each with 1% (independent) probability of loss. To a reasonable approximation, this means there is a 10% chance of losing

#### Consumer utility maximizing choice

A consumer has a utility function :  u (x1, x2) = (x1)2 + (x2)2 . The consumer has an income m = 10 and can buy goods at the prices (p1, p2) = (2, 1). What is the consumer's u

#### Explaining operating system file management and concurrency

Create a 10-slide basic or interactive presentation explaining Operating System File Management and Concurrency. Use a minimum of two supporting diagrams to visually represe

#### Could a hash map have been used in place of the tree map

Could a Hash Map have been used in place of the Tree Map? If you are not sure, try changing Tree Map to Hash Map and see if Hash Map offers all of the required functionality

#### Find the next int method in class random

Find the next Int method in class Random that allows the target range of random numbers to be specified. What are the possible random numbers that are generated when you cal

#### Java program that creates the shoutbox class

Write a Java program that creates the ShoutBox class for your Virtual World. Your ShoutBox class will have a shoutOutCannedMessage() method that returns a String type. The

#### Efficiency of the motor

Write a program in MATLAB to determine how long, in units of seconds, it will take a motor to raise a load into the air. Assume the user will specify the power of the motor

#### Explain the past in using nonrelational structures

What limitations have you or someone you know encountered in the past in using nonrelational structures (such as in a Microsoft® Excel® or Word file) to store data? What wer