You want to find out which fraction of your cars use is for commuting to work, and
Question:
You want to find out which fraction of your car’s use is for commuting to work, and which is for personal use. You know the one-way distance from your home to work. For a particular period, you recorded the beginning and ending mileage on the odometer and the number of work days. Write an algorithm to settle this question.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 62% (8 reviews)
Input is oneway distance beginning mileage ending mi...View the full answer
Answered By
Sandra Dimaala
Sandra from Philippines ,LICENSED PROFESSIONAL TEACHER.
Teachers are our nation builders—the strength of every profession in our country grows out of the knowledge and skills that teachers help to instill in our children. And, as a nation, we must do much, much more to fully appreciate and support their work.
0.00
0 Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
You want to find the moment of inertia of a complicated machine part about an axis through its center of mass. You suspend it from a wire along this axis.. The wire has a torsion constant of 0.450...
-
Employers often want to find out if their workers are productive and loyal. Determine at least one limit that you would place upon a private employers rights to monitor the productivity and...
-
Suppose you want to find documents that contain at least k of a given set of n keywords. Suppose also you have a keyword index that gives you a (sorted) list of identifiers of documents that contain...
-
On March 1, 2014, Eire Co. paid $4,800 to Big North Insurance for a one-year insurance policy. Eire Co. has a December 31 fiscal year end and adjusts accounts annually. Complete the following for...
-
What impact did the September 11 terrorist attack have on U.S. airline demand? An analysis was conducted by I to and Lee1 "Assessing the impact of the September 11 terrorist attacks on U.S. airline...
-
Styrene can be produced from ethylbenzene by the following reaction: ethylbenzenestyrene+H2(1) However, several irreversible side reactions also occur: ethylbenzene benzene + ethylene (2)...
-
Suppose that we sell three S\&P500 futures when the futures price is \(\$ 1963\). At end of the day, if the settlement price is \(\$ 2001\), we will observe a negative cash flow of on our margin...
-
Listed below are nine technical accounting terms introduced in this chapter: Each of the following statements may (or may not) describe one of these technical terms. For each statement, indicate the...
-
An investor expects a company to enjoy 8% compound annual growth for ever, and she thinks that the appropriate rate for discounting the companys dividends would be 14%. She knows that the companys...
-
1. What were the differences in the sources of employees for VividSky as it developed? 2. What are the benefits and problems of using equity to compensate employees? What about using pay? 3. Could...
-
Write a program that prints the sum of the first ten positive integers, 1 + 2 + + 10.
-
Which parts of a computer serve to give information to the user? Which parts take user input?
-
Assume the derivatives of f and g exist in the following exercise. How do you find the derivative of a constant multiplied by a function?
-
A cylinder holds 80 g of water, which comes up to a height of 4 cm. An irregularly-shaped stone is then placed into the water, resulting in the water level rising to 6 cm. The figure shows the...
-
The electron mass is me = 9.109 10-31 kg, and the magnitude of the electron charge is e = 1.602 10-19 C. An electron is placed in a constant electric field of magnitude E, and it accelerates at a...
-
Florida has the highest thunderstorm frequency in the U.S. because a. the Florida peninsula heats to high temperatures during the day. b. mT air masses surround the peninsula. c. frequent, strong...
-
Which of the following is true of the distribution of land and water on Earth? a. They are evenly distributed in both hemispheres. b. Most of the water on Earth is fresh water. c. The Northern...
-
For the function below, determine where f(x) is increasing. f(x) = 2x4 + 8x - 12 (A) (-3,0) (B) (-0, ) (C) (-3,0) U (0, ) (D) (-, -3 U (3, ) (E) (-,-3) U (0,3)
-
Use row reduction to show that a222
-
A fuel pump sends gasoline from a car's fuel tank to the engine at a rate of 5.88 10-2 kg/s. The density of the gasoline is 735 kg/m3, and the radius of the fuel line is 3.18 10-3 m. What is the...
-
Assume that registers $s0 and $s1 hold the values 0x80000000 and 0xD0000000, respectively. 1. What is the value of $t0 for the following assembly code? add $t0, $s0, $s1 2. Is the result in $t0 the...
-
Assume that $s0 holds the value 128 ten . 1. For the instruction add $t0, $s0, $s1, what is the range(s) of values for $s1 that would result in overflow? 2. For the instruction sub $t0, $s0, $s1,...
-
Provide the type and assembly language instruction for the following binary value: 0000 0010 0001 0000 1000 0000 0010 0000 two .
-
Tiarne Osprey is employed as a barista at Duotone Caf. During the 2023 income year, Tiarne received the following amounts: Net Wages from Duotone (PAYGW of $8,000) $52,000 Tips from customers $ 1,000...
-
Piper industrial (PI) manufactures highly frofitable and its corporate tax rate is 20%. Cost of goods sold $15000000 Expenses $4700000 Gross profit (calculate) X Interest $1000,000 Net profit after...
-
Dilbert purchased a home 10 years ago, where he has lived ever since with his coworker Wally. He purchased the home for $100,000 and recently sold it for $600,000. How much of the gain must Dilbert...
Study smarter with the SolutionInn App