Questions
Please provide a thorough answer. Western civilization. Q. In what ways were Stoicism and Epicureanism a...

Please provide a thorough answer.

Western civilization.

Q. In what ways were Stoicism and Epicureanism a response to cosmopolitanism and the breakdown of traditional societal values?

In: Psychology

Write a java code to (A) Enter the number of children, (B) Insert names from user,...

Write a java code to
(A) Enter the number of children,
(B) Insert names from user,
(C) Print these names.
upload source code with a screenshotfor output
in one file with cover page

In: Computer Science

using python/IDLE (1) Prompt the user to enter a string of their choosing. Store the text...

using python/IDLE

(1) Prompt the user to enter a string of their choosing. Store the text in a string. Output the string. (1 pt)

Ex:

Enter a sample text:
we'll continue our quest in space.  there will be more shuttle flights and more shuttle crews and,  yes;  more volunteers, more civilians,  more teachers in space.  nothing ends here;  our hopes and our journeys continue!

You entered: we'll continue our quest in space.  there will be more shuttle flights and more shuttle crews and,  yes;  more volunteers, more civilians,  more teachers in space.  nothing ends here;  our hopes and our journeys continue!


(2) Implement a print_menu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string, and returns the user's entered menu option and the sample text string (which can be edited inside the print_menu() function). Each option is represented by a single character.

If an invalid character is entered, continue to prompt for a valid choice. Hint: Implement the Quit menu option before implementing other options. Call print_menu() in the main section of your code. Continue to call print_menu() until the user enters q to Quit. (3 pts)

Ex:

MENU
c - Number of non-whitespace characters
w - Number of words
f - Fix capitalization
r - Replace punctuation
s - Shorten spaces
q - Quit

Choose an option:


(3) Implement the get_num_of_non_WS_characters() function. get_num_of_non_WS_characters() has a string parameter and returns the number of characters in the string, excluding all whitespace. Call get_num_of_non_WS_characters() in the print_menu() function. (4 pts)

Ex:

Number of non-whitespace characters: 181


(4) Implement the get_num_of_words() function. get_num_of_words() has a string parameter and returns the number of words in the string. Hint: Words end when a space is reached except for the last word in a sentence. Call get_num_of_words() in the print_menu() function. (3 pts)

Ex:

Number of words: 35


(5) Implement the fix_capitalization() function. fix_capitalization() has a string parameter and returns an updated string, where lowercase letters at the beginning of sentences are replaced with uppercase letters. fix_capitalization() also returns the number of letters that have been capitalized. Call fix_capitalization() in the print_menu() function, and then output the the edited string followed by the number of letters capitalized. Hint 1: Look up and use Python functions .islower() and .upper() to complete this task. Hint 2: Create an empty string and use string concatenation to make edits to the string. (3 pts)

Ex:

Number of letters capitalized: 3
Edited text: We'll continue our quest in space.  There will be more shuttle flights and more shuttle crews and,  yes;  more volunteers, more civilians,  more teachers in space.  Nothing ends here;  our hopes and our journeys continue!


(6) Implement the replace_punctuation() function. replace_punctuation() has a string parameter and two keyword argument parameters exclamation_count and semicolon_count. replace_punctuation() updates the string by replacing each exclamation point (!) character with a period (.) and each semicolon (;) character with a comma (,). replace_punctuation() also counts the number of times each character is replaced and outputs those counts. Lastly, replace_punctuation() returns the updated string. Call replace_punctuation() in the print_menu() function, and then output the edited string. (3 pts)

Ex:

Punctuation replaced
exclamation_count: 1
semicolon_count: 2
Edited text: we'll continue our quest in space.  there will be more shuttle flights and more shuttle crews and,  yes,  more volunteers, more civilians,  more teachers in space.  nothing ends here,  our hopes and our journeys continue.


(7) Implement the shorten_space() function. shorten_space() has a string parameter and updates the string by replacing all sequences of 2 or more spaces with a single space. shorten_space() returns the string. Call shorten_space() in the print_menu() function, and then output the edited string. Hint: Look up and use Python function .isspace(). (3 pt)

Ex:

Edited text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue!

In: Computer Science

1. What is significance of powder shape in relation to density and strength of the powder...

1. What is significance of powder shape in relation to density and strength of the powder metallurgy parts?
2. What is significance of metallic powder flow rate, density and green strength?
3. Graphite can be used as a lubricant in the metallic powder; what is advantage of using the graphite in addition to providing lubrication?
4. Describe isostatic compaction method, and identify its advantage over conventional powder pressing method?
5. Define liquid phase sintering, and explain it.
6. What is sinter brazing?
7. Identify one application of powder metallurgy which is based on impregnation.
8. List one application of powder metallurgy parts that utilizes infiltration.
9. Would you be able to make undercuts in the metallurgy parts through the powder metallurgy process? Explain.
10. Define sizing, and explain why it is performed?
11. Which environment would you recommend while performing a sintering process, and why? Oxidizing, reducing, or neutral
12. Identify at least one problem associated with using carburizing environment while sintering the plain carbon steel sprockets.
13. Identify at least one problem associated with using oxidizing environment while sintering plain carbon steel gears?
14. Search literature and identify at least one application of powder metallurgy to manufacture tools using composite materials.
15. Metallic sheets can be manufactured through rolling process using either plate or metallic powder as starting material; identify one drawback and one comparative advantage in each case.

In: Mechanical Engineering

Use the following information for Stock K and Stock M to solve the following problems State...

Use the following information for Stock K and Stock M to solve the following problems

State of Economy Probability of state of the economy Rate of return if the state occurs
Boom .10 Stock K: .25 Stock M: .18
Growth .20 .10 .20
Normal .50 .15 .04
Recession .20 -.12 .00

What is the expected return for stock K? For stock M?

What is the variance for Stock K? For Stock M?

What is the standard deviation for Stock K? For Stock M?

An individual plans to invest $5,000: $3,000 in Stock K and $2,000 in Stock M. What are the portfolio weights for this portfolio?

Using the portfolio weights just computed, what is the expected return for the portfolio?

Given the weight, computer the variance and standard deviation of the portfolio?

In: Finance

Who do you think the poor are in the United States? How do you define welfare?

Who do you think the poor are in the United States?

How do you define welfare?

In: Psychology

For m=4 bits, using the signed two’s complement representation, (neatly) construct a table consisting of all...

For m=4 bits, using the signed two’s complement representation, (neatly) construct a table consisting of all possible 4 bit sequences along with their base 10 values.

In: Computer Science

Please answer and provide an explanation with the necessary formula. Thank you in advance, 1. A...

Please answer and provide an explanation with the necessary formula. Thank you in advance,

1. A 200kg block slides down a rough inclined plane of length 2.5m inclined at 20 degrees. At the bottom of the plane the speed of the block is 3.15 m/s. Initially the block was at rest. What is the change in the internal energy of the system? What is the frictional force?

2. A sled at rest in snow seated with two children with total mass of 50kg. You pull the sled with a rope that makes an angle of 42 degrees with the horizontal. The coefficient of kinetic friction is 0.150 and the tension in the rope is 150 N. What is the speed of the sled after it has moved through 3.5m?

3. Oxygen gas has a molar mass of 32 g/mol and carbon dioxide has a molar mass of 44.05 g/mol. What is the rms speed of the oxygen molecule at 300? If the carbon dioxide molecule has the same rms speed as oxygen molecule, what is the temperature of the carbon dioxide molecule?

4. A U tube contains a liquid of unknown density. An oil of density 800 kg m/s is poured into the tube in one of the arm and the oil column is 12 cm high. The air interface is 5 cm above the liquid level in the other. What is the density of the liquid?

5. A uniform ladder of weigh 75 N leans against a frictionless vertical wall. The foot of the ladder is 2.5m away from the wall. The length of the ladder is 5m. A fireman of weigh 700 N is on the ladder at a distance of 4m along the ladder. What is the magnitude and direction of the force exerted by the floor and ladder?

In: Physics

Create a 10 year savings plan for yourself, the source where the money will come from...

Create a 10 year savings plan for yourself, the source where the money will come from and calculate the interest you expect to receive year over year. Also share where/how you will invest the money (stocks, bonds, 401K). If you plan to have multiple sources, share that as well.

In: Finance

In the Ponderosa Development Corp. (PDC) example, if the land for each house costs $108,100 and...

In the Ponderosa Development Corp. (PDC) example, if the land for each house costs $108,100 and lumber, supplies, and other materials cost another $41,200 per house. The company leases office and manufacturing space for $3,100 per month and their monthly salaries total to $65,250. Assume that total labor costs are approximately $26,800 per house. The cost of supplies, utilities, and leased equipment is $6,650 per month. The one salesperson of PDC is paid a commission of $3,900 on the sale of each house. The selling price of each house is $195,000.
(1) Identify all costs and revenue for each house.

(2) Write the monthly cost function c (x), revenue function r (x), and profit function p (x).

(3) What is the breakeven point (BEP) for monthly sales of the houses based on the cost, revenue and profit functions specified in (2)?

(4) What is the monthly profit if 13 houses per month are built and sold?

(5) What is the monthly profit if the variable cost per house = $160,500 and PDC built and sold 10 houses per month?

(4) What is the monthly profit if 13 houses per month are built and sold?

In: Math

Define iPS cell and describe what these cells are/do/how they function Describe how I might make...

Define iPS cell and describe what these cells are/do/how they function

Describe how I might make an iPS cell that is useful for treating a skeletal muscle tear to speed up the repair process

In: Biology

Your first job out of college will pay you $63,000 in year 1 (exactly one year...

Your first job out of college will pay you $63,000 in year 1 (exactly one year from today), growing at a rate of 2.9% per year thereafter. You will also receive a one time bonus of $41,000 at the same time as your first salary. You plan to retire in 38 years (you'll receive 38 years of salary). If the applicable discount rate is 6%, what is the present value of these future earnings today? Round to the nearest cent.

In: Finance

Jamison Day Consultants has been entrusted with the task of evaluating a business plan that has...

Jamison Day Consultants has been entrusted with the task of evaluating a business plan that has been divided into four sections—​marketing, ​finance, operations, and human resources.​ Chris, Steve,​ Juana, and Rebecca form the evaluation team. Each of them has expertise in a certain field and tends to finish that section faster. The estimated times taken by each team member for each section have been outlined in the table below. Further information states that each of these individuals is paid $90​/hour.                                                                       

Times Taken by Team Members for Different Sections​ (minutes)

Section

Member

Marketing

Finance

Operations

HR

Chris

60

45

150

120

Steve

90

105

115

110

Juana

30

135

75

130

Rebecca

55

70

80

80

​a) The optimal assignment of the function to a team member that minimizes the cost​ is:

Finance -----> Member ___________

Marketing ----> Member __________

Operations ------> Member __________

HR -----> Member ________

In: Operations Management

Tatum can borrow at 6.7 percent. The company currently has no debt, and the cost of...

Tatum can borrow at 6.7 percent. The company currently has no debt, and the cost of equity is 12.9 percent. The current value of the firm is $595,000. The corporate tax rate is 21 percent. What will the value be if the company borrows $310,000 and uses the proceeds to repurchase shares? (Do not round intermediate calculations and round your answer to the nearest whole number, e.g., 32.

In: Finance

Critical Thinking Choose a home product you use. It could be something from your kitchen or...

Critical Thinking

Choose a home product you use. It could be something from your kitchen or bathroom, a cleaning product, a cosmetic or a food item, etc. Look on the label for an ingredient that you are not familiar with. Type that ingredient into an internet search engine. Summarize any warnings or dangers or positive information that you find. Explain the impact this information might have on someone who uses the product.

In: Psychology