Write macro that will take the distance between two cities

Assignment Help Civil Engineering
Reference no: EM13313046

Transportation need to evaluate the time spent in traveling from city A to city B. The distance between the two cities is a variable because the macro developed is to be used for other cities. 50% of travel time is done at a speed of 30 miles an hour and the remaining 50% of the travel time is done at a speed of 65 miles per hour. Write an macro that will take the distance between two cities from a worksheet and calculate and display the time it will take to travel from one city to the next.

Reference no: EM13313046

Questions Cloud

Explain how to verify that the third central moment is zero : Write a computer program that generates a sequence of random variables from a normal distribution with mean 5 and standard deviation 2. a) Verify that sample mean and the sample variance converge to the respective population values.
Prepare a job cost sheet : Prepare a job cost sheet and record the information given above and also a cost summary for job and prepare a purchases budget in units and dollars for the quarter ending 30th December 2014.
Find the magnification of the image : An object is 12.0 cm from the surface of a spherical Christmas tree ornament that is 8.00 cm in diameter. What is the magnification of the image
Design a database for an insurance company : Consider a video game store. For each game, the database contains information about title, producing company name, designer(s) name(s), version of the game, type of the game and characters in the game.
Write macro that will take the distance between two cities : Transportation need to evaluate the time spent in traveling from city A to city B. The distance between the two cities is a variable because the macro developed is to be used for other cities.
Marketing and finance majors are different : At alpha = 0.05 significance level, is there evidence to suggest that the number of courses successfully completed by management, marketing and finance majors are different? True or false: Ha: Umanagement not = Umarketing not = Ufinance
What are the criteria for selecting target markets : What are the criteria for selecting target markets. What are the criteria for selecting targets? Why would they be different from the criteria for segmentation?
Professional context must create negative messages : Sometimes, people writing in a professional context must create negative messages, such as a letter of termination, a press release regarding a company error, a denial of a claim, or a poor performance review. When you write such a negative message, ..
What would be the minimum angle of the wooden bar with floor : A 2inx4inx8ft is leaning against the wall, draw afree-body diagram of forces on it. what would be the minimum angle of the wooden bar with the floor

Reviews

Write a Review

Civil Engineering Questions & Answers

  Consider x and y independant gaussian random variables

consider x and y independant Gaussian random variables with zero means and unity variance. 1. for an arbitrary new random does the following hold p(x,y/z)= p(x/z)p(y/z)? 2. let z= x+y. write the explicit expression of the pdf p(x,y/z). use the Dir..

  What is the highest possibledesign speed for the curve

The road has 12-ft lanes. Due toexpensive excavation, it is determined that a maximumof 34 ft can be cleared from the road's centerline toward the inside lane to provide for stopping sight distance.

  Will crack widths be affected by the air entrainment

Will crack widths be affected by the air entrainment?

  Explain which illuminates a light indicating bowls contents

A scale for rapidly weighing ingredients in a commercial bakery operation is shown. An empty bowl is first placed on the scale. Electrical contact is made at point A, which illuminates a light indicating the bowl's contents are underweight.

  Determine what should the size of the gap at b be

The bar AB has an axial rigidity of EA. The bar is rigidly attached at A while there is a gap at B. A load P acts at point C and has a large enough magnitude to close the gap at B.

  Compare prismoidal volume to the corrected end area volume

Calculate the prismoidal correction and compare the prismoidal volume to the corrected end area volume. Station Left Center Right Area (sq. ft.) 1+00 C7.0/ C8.2/ C8.5/ 256.90 31.3 0.0 24.5 1+50 C5.3/ C5.0/ C3.5/ 207.62 29.5 0.0 21.8 2+00

  Calculate the elastic recovery

A 10-mm diameter bar of 1040 carbon steel is subjected to a tensile load of 50,000 N, taking it beyond its yield point. Calculate the elastic recovery (or strain) that would occur upon removal of the tensile load.

  Discuss about damp-proofing trenches

Discuss about damp-proofing trenches

  Determine the uniform flow depth in a rectangular channel

Determine the uniform flow depth in a rectangular channel 2.5 m wide with a discharge of 3 m3/s. The slope is 0.0004 and Manning's roughness coefficient is 0.015

  Compounds empirical and molecular formula

A Silane contains 90.31 % silicon and 9.69 % hydrogen by mass. The compound has a molar mass of 62 g/mol. Determine the compound's empirical and molecular formula.

  Estimate the ground level so2 at a point of the power plant

A power plant emits 95 g/s of SO2 from an effective stack height of 60 m. The wind speed is 3 m/s and the solar insolation is slight. A) Estimate the ground level SO2 (ug/m^3) at a point 4 km directly downwind of the power plant

  Determine what type of surface would wheeler tractor be

A wheeled tractor with high-pressure tires and weighing 74,946 lb is pulled up a 5% slope at uniform speed. If the tension in the tow cable is 13,000 lb, what is the rolling resistance of the road

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd