I'm making a python program that checks the users input. If the users input does not match the rules then the program will output "No".
If the users input does match the rules it will output "Yes".
The rules are :
at least 5 uppercase letters
at least 5 lowercase letters
at least 5 numbers
No more than 20 characters in total
I have managed to meet these conditions in individual python files but not in one. Ideally without importing anything, still learning the basics as you can see! Thanks
In: Computer Science
I'm making a python program that checks the users input. If the users input does not match the rules then the program will output "No". If the users input does match the rules it will output "Yes".
The rules are :
5 uppercase letters
5 lowercase letters
5 numbers
First letter must be capitilized
The total characters must be 15
I have managed to meet these conditions in individual python files but not in one. Ideally without importing anything, still learning the basics as you can see! Thanks
In: Computer Science
A computer system administrator notices that computers running a particular operating system seem to freeze up more often as the installation of the operating system ages. She measures the time (in minutes) before freeze-up for seven computers one month after installation, and for nine computers seven months after installation. The results are as follows: One month after install: 207.4 233.1 215.9 235.1 225.6 244.4 245.3 Seven months after install: 84.3 53.2 127.3 201.3 174.2 246.2 149.4 156.4 102.3 Let μX represent the population mean for the first month and let μY represent the population mean for the seventh month. Find a 95% confidence interval for the difference μX−μY . Round down the degrees of freedom to the nearest integer and round the answers to three decimal places.
In: Statistics and Probability
please Im really lost on that one
3) A sticky goo oozes mysteriously from the rare wazoo
tree, which grows only on the farm of Wolf Molder, just outside of
Pullman, Washington. This goo, when smeared on the face, results in
a tightening of the skin and the elimination of fine lines. Wolf
bottles the goo at a cost of $2 per bottle and sells it to Donna
Scali at a wholesale price of $w per bottle. Donna sells the goo to
the general public over the Internet under the name “Youth Goo” at
a price of $P per bottle. The retail demand for Youth Goo is given
by P = 60 - .01Q.
(a) Write Donna Scali’s profit as a function of the number of
bottles of Youth Goo she sells over the Internet and the wholesale
price, πD(Q;w).
Write an equation characterizing Donna’s profit-maximizing choice
of output as a function of the wholesale price w.
(b) What is Wolf’s profit as a function of the number of bottles of
Youth Goo he sells to Donna, πW(Q)?
What is Wolf’s profit-maximizing choice of output?
(c) What are the resulting values of the wholesale and retail
prices?
What are profits to Donna and Wolf?
(d) Wolf offers Dana a contract in the form of two-part tariff, a
wholesale price, w, and a fixed fee, F. Calculate the wholesale
price that Wolf charges, the optimal quantity that Donna buys, and
Donna’s optimal price. What should be the range of the fee so that
Donna would accept the offer and Wolf prefers this system?
(e) After a long Internet courtship, Wolf and Donna decide to
become partners in business and in life. After combining their
separate businesses (Youth Goo production and retail distribution,
respectively), they conclude that they could make larger combined
profits by choosing a different level of output. What is their new
profit-maximizing level of output Q** and retail price P**?
What are their new profits?
In: Economics
You have just begun work at XYZ Manufacturing Company. Among its benefits offerings is a generous qualified 401(k) plan with an employer match. In 2015, your annual salary is $45,000 and you are age 55. You’ve decided to contribute 10 percent of your annual salary to your 401(k) plan even though the Internal Revenue Service allows you to contribute up to $24,000 in 2015 ($18,000 plus a $6,000 catch up contribution for employees age 50 or more). The annual addition is $53,000.
Questions: 9-9. How much more money would you need to contribute to meet the allowable maximum contribution?
9-10. In 2015, the company offers a $0.75 match for each dollar that you contribute between 3 percent and 6 percent of your annual salary. How much is the company match based on your 10 percent contribution?
9-11. Based on the sum of your answers to questions 9-9 and 9-10, what is the difference between the IRS maximum annual addition for 2015 and the total contribution to your 401(k) plan?
In: Operations Management
Phoenix Inc., a cellular communication company, has multiple business units, organized as divisions. Each division’s management is compensated based on the division’s operating income. Division A currently purchases cellular equipment from outside markets and uses it to produce communication systems. Division B produces similar cellular equipment that it sells to outside customers—but not to division A at this time. Division A’s manager approaches division B’s manager with a proposal to buy the equipment from division B. If it produces the cellular equipment that division A desires, division B will incur variable manufacturing costs of $60 per unit. Relevant Information about Division B Sells 92,500 units of equipment to outside customers at $130 per unit Operating capacity is currently 80%; the division can operate at 100% Variable manufacturing costs are $70 per unit Variable marketing costs are $8 per unit Fixed manufacturing costs are $920,000 Income per Unit for Division A (assuming parts purchased externally, not internally from division B) Sales revenue $ 320 Manufacturing costs: Cellular equipment 80 Other materials 10 Fixed costs 40 Total manufacturing costs 130 Gross margin 190 Marketing costs: Variable 35 Fixed 15 Total marketing costs 50 Operating income per unit $ 140
Required: 1. Division A wants to buy 42,000 units from division B at $75 per unit. Determine the contribution margin for each type sale by division B. Should division B accept or reject the proposal? How would your answer differ if (a) division A requires all 42,000 units in the order to be shipped by the same supplier and what would be the net operating loss or gain to division B and the firm as a whole, or (b) division A would accept partial shipment from division B and what would be the benefit from this alternative to division B? 2. What is the range of transfer prices over which the divisional managers might negotiate a final transfer price?
In: Accounting
|
A pension plan is obligated to make disbursements of $8 million, $6 million, and $8 million at the end of each of the next three years, respectively. The interest rate is 10% annually. If the plan wants to fully fund and immunize its position, how much of its portfolio should it allocate to one-year zero-coupon bonds and perpetuities, respectively, if these are the only two assets funding the plan? (Round your answers to 2 decimal places. Omit the "%" sign in your response.) |
| Investment in one-year zero-coupon bonds | % | |
| Investment in perpetuity | % | |
In: Finance
Given Y=120, TR=10, C=70, T=40, G=45. Total S (saving) = ____.
Select one:
A. 3
B. 5
C. 7
D. 9
E. 11
In: Economics
**Principles of Sustainability Course**
1)Water vapor is a greenhouse gas
True
False
2)The triple bottom line refers to
|
A) product, place, and price |
||
|
B) local, regional, and global |
||
|
C) pollution, climate change, and resource depletion |
||
|
D) environment, economics, and equity |
3)The sustainability movement differs from the environmental movement in that it also includes economics and equity.
True
False
4)Once a species is so at risk that it becomes endangered, it cannot be removed from the endangered species list.
True
False
5)Monitoring is an important step in sustainability initiatives.
True
False
6)The way to know what is sustainable is to listen to opinions and select the ones talked about most often.
True
False
7)The goal of restoration is
|
A) to stop change from occurring |
||
|
B) to move an ecosystem back to the state it occupied approximately 100 years earlier |
||
|
C) to move an ecosystem back to the state it occupied approximately 200 years earlier |
||
|
D) to provide conditions to allow a system to achieve a state of equilbrium that results in a healthy, self-sustaining system |
8)Sea level rise associated with global warming is caused primarily by
|
A) expanding sea water |
|||
|
B) melting glaciers |
|||
|
C) melting ice caps |
|||
|
D) expansion of rock layers |
|||
|
9)Desalination of seawater consumes more energy than pumping of groundwater. |
|||
True
False
10)The Groundwater is
|
A) water that runs off the surface in a rainstorm |
||
|
B) soil moisture |
||
|
C) the zone of saturated soil or rock |
||
|
D) water inaccessible to wells |
11)Which of the following is a type of trophic level?
|
A) producer |
||
|
B) consumer |
||
|
C) decomposer |
||
|
D) all of the above |
12) IPAT stands for
|
A) industrial pollution and technology |
||
|
B) impact, population, affluence, and technology |
||
|
C) increased population after transition |
||
|
D) the total energy produced within an area |
13)Thomas Malthus is best known for his writings on
|
A) economics |
||
|
B) ecology |
||
|
C) population |
||
|
D) group dynamics |
In: Economics
You are an investor with an investment horizon of one year and a certain degree of risk aversion. Your task is to determine the efficient frontier in the case of two risky securities and one risk-free (T-bill) security and select the optimal portfolio depending on your risk-aversion parameter. You need to do your work on an EXCEL SPREADSHEET!
*Note: select two risky securities and one risk-free (T-bill) security OF YOUR CHOICE.
1- Choose
A well-diversified risky bond B represented by its E(RB) and STDB.
A well-diversified stock fund S represented by its E(RS) and STDS.
A T-bill with one-year maturity represented by RF.
2- Choose a correlation coefficient between B and S.
3- Make simulations on STD and E(R) of a "complete" portfolio
(formed with B and S) by varying the weights allocated on B and
S.
4- Construct and graph the opportunity set (feasible set) for B and
S from your simulations.
5- Compute the weights of the tangent portfolio (T).
6- Compute the STDT and E (RT) of the tangent portfolio (T).
7- Add the T-bill to your portfolio and redo step 3. 8- Repeat step 4 with the T-bill rate.
9- Choose different risk aversion parameters and determine your
optimal weights in T and F and for the implied optimal portfolio
compute the E(R) and STD.
10- Provide a summary of your results
THANK YOU SO MUCH, I REALLY APPRECIATE YOUR HELP :)
In: Finance