Linkin Corporation is considering purchasing a new
delivery truck. The truck has many advantages over the company’s
current truck (not the least of which is that it runs). The new
truck would cost $54,760. Because of the increased capacity,
reduced maintenance costs, and increased fuel economy, the new
truck is expected to generate cost savings of $7,400. At the end of
8 years, the company will sell the truck for an estimated $27,000.
Traditionally the company has used a rule of thumb that a proposal
should not be accepted unless it has a payback period that is less
than 50% of the asset’s estimated useful life. Larry Newton, a new
manager, has suggested that the company should not rely solely on
the payback approach, but should also employ the net present value
method when evaluating new projects. The company’s cost of capital
is 8%.
Compute the cash payback period and net present value of the
proposed investment.
In: Accounting
#include <stdio.h>
int main() {
int i, j;
printf("Enter two positive integers: ");
scanf("%d%d", &i, &j); // need to validate both being positive
while (i != j) {
i > j ? (i -= j) : (j -= i);
}
printf("GCD: %d\n", i);
return 0;
}
The above code returns a GCD from two numbers entered. Use the above program to design
a C program to compute of integer coefficients a and b such that gcd(i, j) = a xi + b x j.
EXAMPLE RUNS:
Enter two positive integers: 446 39
GCD: 1 = 23 * 446 + (-263) * 39
Enter two positive integers: 48 112
GCD: 16 = (-2) * 48 + 1 * 112
Enter two positive integers: 3 2
GCD: 1 = (-1) * 3 + 2 * 2
Thank you!!
In: Computer Science
| Price | Quantity Supplied | Quantity Demanded |
| 8 | 50 | 20 |
| 7 | 40 |
25 |
| 6 | 30 | 30 |
| 5 | 20 | 35 |
| 4 | 10 | 40 |
Draw the supply curve and demand curve independently in a separate graph.
Write the demand equation and the supply equation.
Combine both curves in one graph and show the equilibrium price and quantity.
What is the quantity demanded when the price is $10?
Is there a shortage or surplus when the price equals $8? What about $4?
In: Economics
Pole Position, a retailer at Destiny Mall, has a variable cost of $5 per lap driven. It has identified two segments of customers: Hard-Core drivers and Just-For-Fun drivers. For simplicity, throughout this problem, assume there is exactly one customer in each of the two segments. Market research has revealed how each segment values the experience, depending on how many laps are raced:
|
# of Laps |
Hard-Core Total Benefit ($) |
Just-For-Fun Total Benefit ($) |
|
1 |
$15 |
$25 |
|
2 |
$29 |
$37 |
|
3 |
$42 |
$43 |
|
4 |
$54 |
$48 |
|
5 |
$65 |
$50 |
|
6 |
$74 |
$51 |
|
7 |
$81 |
$50 |
|
8 |
$87 |
$40 |
|
9 |
$90 |
$20 |
|
10 |
$89 |
$10 |
5. Suppose Pole Position had to set the price per lap the same regardless of the type of customer.
In: Economics
08-5 Calculate and compare the hydraulic and TSS loadings (lb/d)
from wastewater and stormwater for a 10-acre urban neighborhood.
Assume the following:
*Wastewater: 5 houses/acre; 3.5 people/house; 50 gal/person/day; TSS = 200 mg/L
*Stormwater: 0.75 inch rainfall over 24 hours, 50% of rainfall runs off; TSS = 60 mg/L
Answer: WW load = 875 gpd, 14.6 lb/d; SW load = 101,820 gal/d, 51.0 lb/d
In: Civil Engineering
1. If you decrease the level of confidence from 99% to 95%, the width of confidence interval will A. increase by 4% B. decrease by 4% C. decrease by 8% D. None of the above
2. If you wish to decrease the margin of error, you may do which one of the following: A. Increase the sample size. B. Reduce the population size. C. Decrease the level of confidence.
D. Both b and c E. Both a and c
3. In five test runs, a truck operated 10, 12, 10, 8, and 15 miles with one gallon of gasoline. At the 98% level of confidence, is this sufficient evidence to show that the truck is operating at a mean rate of about 14 miles per gallon? A. Yes. B. No. C. Can’t be determined. D. Depends on the proportion of the tested truck
In: Statistics and Probability
1) A statistics professor plans classes so carefully that the lengths of her classes are uniformly distributed between 50.0 and 52.0 minutes. Find the probability that a given class period runs between 51.25 and 51.75 minutes.
Find the probability of selecting a class that runs between
51.25 and 51.75 minutes.
__. (Round to three decimal places as needed.)
2) Find the area of the shaded region. The graph depicts the
standard normal distribution with mean 0 and standard deviation
1.
Z=0.67
The area of the shaded region is _.
(Round to four decimal places as needed.)
3) Find the area of the shaded region. The graph depicts the
standard normal distribution of bone density scores with mean 0 and
standard deviation 1.
z=-0.92
The area of the shaded region is _.
(Round to four decimal places as needed.)
4) Find the indicated z score. The graph depicts the standard
normal distribution with mean 0 and standard deviation 1.
z=0.8944
The indicated z score is _.
(Round to two decimal places as needed.)
5)Find the indicated z score. The graph depicts the standard
normal distribution with mean 0 and standard deviation 1.
z=0.2327 z=0
The indicated z score is _.
(Round to two decimal places as needed.)
6) Find the indicated z score. The graph depicts the standard
normal distribution with mean 0 and standard deviation 1.
z=0 z=o.1762
The indicated z score is _.
(Round to two decimal places as needed.)
In: Statistics and Probability
Create a C# application for Cricket Team that allows you to enter data for player of Cricket Team and saves the data to a file named Players.txt. Create a Player class that contains fields for of participant's first name, last name, age, salary and position (wicketkeeper, bawler, striker, midwicket), and To String() method. The fields of records in the file are separated with semicolon (. Expecting sentinel value for ending the process of writing to file is *. E.g. of a record in the file Players.txt: 180000;bawler
In: Computer Science
Tammi’s Truck Stop sells Seat-o-Nails cushions, which are specially designed to keep drivers awake on the road. Her accessories supplier makes deliveries every Tuesday, at which times she can get as many cushions as she wants (the supplier always has extras in his truck). Tammi, who was a statistics major in college, has done some calculations and estimates that weekly demand for cushions is normally distributed with mean 35 and standard deviation 10. The cushions cost her $40 wholesale and she sells them for $75. Tammi uses a 30 percent interest rate to evaluate the cost of holding inventory. It is Tuesday and she has 12 cushions in stock.
The supplier has just arrived. How many cushions should Tammi buy if sales are lost when she runs out of stock during the week?
How many cushions should Tammi buy if a customer who wants a cushion will still buy it when stock has run out, but she has to pay the $5 postage to mail it to the customer?
In: Operations Management
Find the mean and standard deviation of the times and icicle lengths for the data on run 8903 in data data447.dat. Find the correlation between the two variables. Use these five numbers to find the equation of the regression line for predicting length from time. Use the same five numbers to find the equation of the regression line for predicting the time an icicle has been growing from its length. (Round your answers to three decimal places.)
times x =
times s =
lengths x =
lengths s =
r =
time = + length =
length = + time=
time length 10 1.3 20 1.2 30 3.6 40 4.7 50 8 60 8.5 70 10.2 80 11.4 90 12.8 100 17.8 110 19.1 120 19.3 130 20.7 140 21.8 150 25.3 160 26.8 170 27.9 180 29.4
In: Statistics and Probability