Questions
IN PYTHON: Write a program that asks the user for a path to a directory, then...

IN PYTHON:

Write a program that asks the user for a path to a directory, then updates the names of all the files in the directory that contain the word draft to instead say final

     EX: "term paper (draft).txt" would be renamed "term paper (final).txt"

BONUS (5pts): for any .txt file that your program changes the name of, have your program add a line of text that states "Edited on " followed by the current date to the end of the text in the file that it is editing.

In: Computer Science

eBook Present Value of an Annuity Find the present value of thefollowing ordinary annuities. Do...

Present Value of an Annuity Find the present value of the following ordinary annuities. Do not round intermediate calculations. Round your answers to the nearest cent. (Notes: If you are using a financial calculator, you can enter the known values and then press the appropriate key to find the unknown variable. Then, without clearing the TVM register, you can "override" the variable that changes by simply entering a new value for it and then pressing the key for the unknown variable to obtain the second answer. This procedure can be used in many situations, to see how changes in input variables affect the output variable. Also, note that you can leave values in the TVM register, switch to Begin Mode, press FV, and find the FV of the annuity due.)

$600 per year for 10 years at 10%.

$ $300 per year for 5 years at 5%.

$ $600 per year for 5 years at 0%.

$ Now rework parts a, b, and c assuming that payments are made at the beginning of each year; that is, they are annuities due.

Present value of $600 per year for 10 years at 10%:

$ Present value of $300 per year for 5 years at 5%:

$ Present value of $600 per year for 5 years at 0%:

In: Finance

Find the present value of the following ordinaryannuities. (Notes: If you are using a financial...

Find the present value of the following ordinary annuities. (Notes: If you are using a financial calculator, you can enter the known values and then press the appropriate key to find the unknown variable. Then, without clearing the TVM register, you can "override" the variable that changes by simply entering a new value for it and then pressing the key for the unknown variable to obtain the second answer. This procedure can be used in many situations, to see how changes in input variables affect the output variable. Also, note that you can leave values in the TVM register, switch to Begin Mode, press PV, and find the PV of the annuity due.) Do not round intermediate calculations. Round your answers to the nearest cent.

  1. $600 per year for 10 years at 14%.

    $   

  2. $300 per year for 5 years at 7%.

    $   

  3. $600 per year for 5 years at 0%.

    $   

  4. Now rework parts a, b, and c assuming that payments are made at the beginning of each year; that is, they areannuities due.

    Present value of $600 per year for 10 years at 14%: $   

    Present value of $300 per year for 5 years at 7%: $   

    Present value of $600 per year for 5 years at 0%: $   

In: Finance

Find the present value of the following ordinary annuities. (Notes: If you are using a financial...

Find the present value of the following ordinary annuities. (Notes: If you are using a financial calculator, you can enter the known values and then press the appropriate key to find the unknown variable. Then, without clearing the TVM register, you can "override" the variable that changes by simply entering a new value for it and then pressing the key for the unknown variable to obtain the second answer. This procedure can be used in many situations, to see how changes in input variables affect the output variable. Also, note that you can leave values in the TVM register, switch to Begin Mode, press PV, and find the PV of the annuity due.) Do not round intermediate calculations. Round your answers to the nearest cent.

  1. $200 per year for 10 years at 14%.$  

  2. $100 per year for 5 years at 7%. $  

  3. $200 per year for 5 years at 0%. $  

  4. Now rework parts a, b, and c assuming that payments are made at the beginning of each year; that is, they are annuities due.

    Present value of $200 per year for 10 years at 14%: $  

    Present value of $100 per year for 5 years at 7%: $  

    Present value of $200 per year for 5 years at 0%: $  

In: Finance

We are evaluating a project that costs $1,080,000, has a ten-year life, and has no salvage...

We are evaluating a project that costs $1,080,000, has a ten-year life, and has no salvage value. Assume that depreciation is straight-line to zero over the life of the project. Sales are projected at 52,000 units per year. Price per unit is $48, variable cost per unit is $27, and fixed costs are $756,000 per year. The tax rate is 25 percent, and we require a return of 15 percent on this project.
a. Calculate the accounting break-even point. (Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)
b-1. Calculate the base-case cash flow and NPV. (Do not round intermediate calculations and round your NPV answer to 2 decimal places, e.g., 32.16.)
b-2. What is the sensitivity of NPV to changes in the sales figure? (Do not round intermediate calculations and round your answer to 3 decimal places, e.g., 32.161.)
b-3. Calculate the change in NPV if sales were to drop by 500 units. (Enter your answer as a positive number. Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)
c. What is the sensitivity of OCF to changes in the variable cost figure

In: Finance

ProValue released a line of clothing and accessories titled "This is Me" for pre-teens and adolescents...

ProValue released a line of clothing and accessories titled "This is Me" for pre-teens and adolescents after conducting substantial marketing research on the demand in the target market. The new products were first released on an experimental basis to track their sales against the projected estimates. The successful test marketing exercise was followed by a full-scale rollout. ProValue is now considering raising the prices of some of the quick-selling products in this line. To test the impact of doing so, it increased the prices of these products by 10 percent, holding all other factors constant, and evaluated changes in sales. Which of the following statements is true with regard to ProValue's use of marketing research for this line of clothes and accessories?

ProValue failed to undertake adequate descriptive research to identify the features of its target market for this new line of products.

ProValue evaluated the demand for the goods before and after the change in prices only through online databases.

ProValue successfully used a combination of descriptive and causal research approaches in the events described in the scenario.

ProValue used exploratory research to evaluate the impact of price changes in the quick selling products of the new line.

ProValue used mechanical devices to study the market demand for its new line of products after the price rise.

In: Economics

emphasize forecasting

The models of this chapter emphasize forecasting the level of a series. For many business decisions, fore-casts of change are more important. If we€™re projecting an increase in sales, then we need to have more items in stock. This timeplot shows sales (in thou-sands of dollars) over a 25-week period (not including special holiday sales).

The models of this chapter emphasize forecasting the level of

(a) The following output summarizes the ft of an AR(2) model to these data. Assuming that the model meets the usual conditions, is this a good description of the dependence in this series?

The models of this chapter emphasize forecasting the level of

(b) If we use the same two predictors Yt -1 and Yt -2 to describe the changes in sales or use the differences Dt = Yt - Yt -1, what will be the estimated slopes for the lagged variables?
(c) Explain why se of the regression of Yt on these two lags is the same as the SD of the residuals when regressing the changes on these two lags.
(d) Although the models are equivalent (in the sense that you can get the slope for one from the other), most analysts prefer to ft models to Yt itself rather than to the differences. A partial explanation comes from a comparison of R2 for the two models. Which model do you think has a larger R2: the model with Yt as the response, or the model with the differences Dt?

In: Statistics and Probability

The shape of the distribution of the time required to get an oil change at a...

The shape of the distribution of the time required to get an oil change at a 10​-minute oil-change facility is unknown. However, records indicate that the mean time is 11.8 minutes​, and the standard deviation is 4.9 minutes. Complete parts ​(a) through (c).

​(a) To compute probabilities regarding the sample mean using the normal​ model, what size sample would be​ required?

A. The sample size needs to be less than or equal to 30.

B. Any sample size could be used.

C. The sample size needs to be greater than or equal to 30.

D. The normal model cannot be used if the shape of the distribution is unknown.

​(b) What is the probability that a random sample of n=35 oil changes results in a sample mean time less than 10 minutes?​

​(c) Suppose the manager agrees to pay each employee a​ $50 bonus if they meet a certain goal. On a typical​ Saturday, the​ oil-change facility will perform 35 oil changes between 10 A.M. and 12 P.M. Treating this as a random​ sample, there would be a​ 10% chance of the mean​ oil-change time being at or below what​ value? This will be the goal established by the manager. There is a​ 10% chance of being at or below a mean​ oil-change time of blank minutes.

In: Statistics and Probability

2. An ordinary demand curve contains both substitution and income effects, while a compensated demand curve...

2. An ordinary demand curve contains both substitution and income effects, while a compensated demand curve contains only income effects. True or False

5. The substitution and income effects are in opposition when the price of an inferior good changes. True or False

7. Since the quantity of good X is measured along the horizontal axis when drawing indifference curves and demand curves, both can be drawn in the same diagram. True or False

8. When the price of a good rises, the income effect always reduces the quantity demanded of the good. True or False

12. Parallel shifts in the budget line are considered when deriving the demand curve for a good. True or False

14. A parallel shift in the budget line is caused by changes in the relative prices of the two goods. True or False

21. An inferior good is one for which the substitution effect is relatively large. True or False

Thank you in advance to whomever gets stuck helping me! True and false questions are my weakest point of test taking. It's the "never, sometimes, always" language that really messes me up. It's also 3am and my brain is starting to not work. Thank you again!

In: Economics

1. Which of the following apply to nylon?  One or more answers are correct and you will...

1. Which of the following apply to nylon?  One or more answers are correct and you will receive negative points for incorrect answers.

A compound with two carboxylic acid groups is reacted with a compound with two amine groups.

The product forms as a fiber between two immiscible liquid layers.

The product of the reaction is a solid collected by vacuum filtration.

A free radical is used to get styrene molecules to bind to each other.

2.

Which of the following would be a reasonable test for fracture?  Choose the best answer.

Stretch polymer and release. Monitor whether polymer returns to original shape.

Hit polymer with hammer and observe whether it breaks into pieces.

Heat polymer and watch for changes such as swelling, color change, and change in hardness.

Scrape polymer with spatula and observe whether there is permanent scratching of polymer surface.

3.

Which of the following would be a reasonable test for elastic deformation?  Choose the best answer.

Hit polymer with hammer and observe whether it breaks into pieces.

Heat polymer and watch for changes such as swelling, color change, and change in hardness.

Stretch polymer and release. Monitor whether polymer returns to original shape.

Scrape polymer with spatula and observe whether there is permanent scratching of polymer surface.

In: Chemistry