Write a Python program that computes certain values such as sum, product, max, min and average of any 5 given numbers along with the following requirements.
Define a function that takes 5 numbers, calculates and returns the sum of the numbers.
Define a function that takes 5 numbers, calculates and returns the product of the numbers.
Define a function that takes 5 numbers, calculates and returns the average of the numbers. Must use the function you defined earlier to find the sum of the five numbers.
Define a function that takes 5 numbers, finds and returns the largest value among the numbers. Must use conditional statements and NOT use built-in max function.
Define a function that takes 5 numbers, finds and returns the smallest value among the numbers. Must use conditional statements and NOT use any built-in min function.
Define a function called main inside which Prompt users to enter 5 numbers. Call all the functions passing those 5 numbers entered by the user and display all the returned answers with proper descriptions.
Define a function called test For each of the functions you defined (6-10) write at least 2 automated test cases using assert statements to automatically test and verify that the functions are correctly implemented. make your program continue to run and calculate the same statistical values of as many sets of 5 numbers as a user wishes until they want to quit the program.
In: Computer Science
Pureform, Inc., uses the weighted-average method in its process costing system. It manufactures a product that passes through two departments. Data for a recent month for the first department follow:
| Units | Materials | Labor | Overhead | ||||
| Work in process inventory, beginning | 79,000 | $ | 99,000 | $ | 34,200 | $ | 46,700 |
| Units started in process | 749,000 | ||||||
| Units transferred out | 770,000 | ||||||
| Work in process inventory, ending | 58,000 | ||||||
| Cost added during the month | $ | 1,297,800 | $ | 523,355 | $ | 598,120 | |
The beginning work in process inventory was 80% complete with respect to materials and 65% complete with respect to labor and overhead. The ending work in process inventory was 60% complete with respect to materials and 50% complete with respect to labor and overhead.
Required:
Assume that the company uses the FIFO method in its process costing system.
1. Compute the first department's equivalent units of production for materials, labor, and overhead for the month.
2. Compute the first department's cost per equivalent unit for materials, labor, overhead, and in total for the month. (Round your answers to 2 decimal places.)
.
Madison Park Co-op, a whole foods grocery and gift shop, has provided the following data to be used in its service department cost allocations:
|
Service Departments |
Operating Departments |
||||||
| Administration | Janitorial | Groceries | Gifts | ||||
| Departmental costs before allocations | $200,000 | $60,000 | $3,820,000 | $340,000 | |||
| Employee-hours | 480 | 310 | 2,720 | 170 | |||
| Space occupied—square feet | 600 | 1,300 | 9,400 | 600 | |||
Required:
Using the step-down method, allocate the costs of the service departments to the two operating departments. Allocate Administration first on the basis of employee-hours and then Janitorial on the basis of space occupied. (Please enter allocations from a department as negative and allocations to a department as positive. The line should add across to zero. Do not round intermediate calculations. Round your answers to the nearest whole dollar amount.)
In: Accounting
Linda is a 60-year-old woman with moderate mental retardation who has recently been diagnosed with congestive heart failure. Her doctor has recommended that Linda lose weight, get regular exercise, and eat low sodium, low cholesterol diet. She lives in an adult living facility. Linda works at a local shelter. She is required to bring lunch to the shelter every day and she always brings a bologna and cheese sandwich, a bag of pretzels and a chocolate chip cookie. During her morning break, she always gets a Coke and a bag of potato chips from the vending machine for a snack. Linda has eaten this same diet every day for at least 25 years and is very resistant to the idea of changing what she eats for lunch every day. After work Linda has staff that supports her in cooking dinner and she has tried a variety of foods. On the weekends her favorite thing to do is to go to Burger King for a Whopper with cheese and a large French fries. Linda has support with going grocery shopping. She is willing to pick out a variety of foods, but she always insists on buying pretzels and potato chips. She becomes very angry when staff suggest that she leave the store without the two items. Linda had had no trouble taking medication as she has staff who remind her in the morning and at night that she needs to do this. She also has support with monitoring her weight every day. She must monitor her weight to assure that she is not retaining water. Linda does not get any regular exercise. She has trouble climbing the set of stairs to her second-floor apartment. A couple of weeks ago one of the staff that supports her tried taking her for an hour walk in a near-by park. She had to turn around after 15 minutes because she was exhausted, and declared that she would never go walking again. Linda is fascinated by machines. One of the staff on weekends noted that she watched several infomercials about treadmills, rowing machines, and other types of exercise equipment. What are the behaviors that need to be changed? What health promotion actions would help? What additional supports or information might motivate Linda? Do you believe Linda can follow her doctor's recommendations? Why or why not?
In: Psychology
Prepare a 12- to 15-slide PowerPoint® presentation with speaker notes requesting initial funding of $500,000 to start and run a start-up company. The proposed start-up company could be an existing business model (coffee shop, pet store, etc.) or could be something entirely new and exciting.
Title Page
Table of Contents
Executive Summary
Information about the Industry
Marketing Plan
Competitor Analysis
3 Year Income Statement (Profit & Loss) Projections
Include your assumptions for why and how you will achieve your sales growth and what significant expenses and investments you expect to incur to achieve your revenue goals.
3 Year Proposed Funding Schedule (Sources and uses of the funds received.)
Break-Even Analysis
Academic and Business References
Review the following scenarios and assumption, and explain how it impacts your decision to expand:
After Year 3, the investors are interested in your company expanding internationally to possibly outsource labor or to reduce manufacturing costs. What countries would you expand to first, and why? What factors would you need to consider in making this decision?
What is the corporate tax rate in the countries you are considering expanding your business to, and how will that affect your decision to expand globally? (Use OECD Database or another resource to determine the corporate tax rate).
The investors want to see a decision tree detailing the decisions you would make if you received $300K now and $200K at the end of three years instead of $500K up front.
The investors would like your team to provide advantages and disadvantages of using debt financing versus selling company stock to raise capital for growth.
Briefly explain the venture capital process. Does it make sense for your company to raise funds through venture capital?
In: Accounting
physics

Questions
Do any equipotential lines cross one another?
Do any field lines cross one another?
Estimate the electric field strength at a point :
(a) half way between the terminals and
(b) near one of the terminals by using the relation: where AV is the potential difference between two points (for example, two points on successive equipotential lines) and AL is the distance measured along a field line.
Where is the field the strongest? Where is the field the weakest?
In: Physics
When a sound wave travels directly toward a hard wall, the incoming and reflected waves can combine to produce a standing wave. There is an antinode right at the wall, just as at the end of a closed tube, so the sound near the wall is loud. You are standing beside a brick wall listening to a 80Hz tone from a distant loudspeaker.
How far from the wall must you move to find the first quiet spot? Assume a sound speed of 340 m/s.
In: Physics
The US economy has shrunk 5% due to the impact of the Covid19 pandemic. President Trump has passed a piece of legislation that allows for 5 Trillion dollars to be put back into the economy, through near-zero interest loans for business, and payments of nearly $2,000 for the population. How do you think people will use their $2,000 payment, and why. How do you think industry will use their much larger payments, and why. Comment on short term, and long term application.
In: Economics
In: Economics
A “conventional gear” tailwheel airplane has the center of mass aft of the two main wheels and a smaller, third wheel at the tail. A “tricycle gear” airplane has the center of mass forward of the two main wheels and the third wheel near the nose. Consider a shiny, new airplane landing on its main wheels, with the fuselage at a left yaw angle with respect to the direction of motion down the runway. With which of these two types of landing gear would the airplane be easier to land? Explain.
In: Physics
4. Consider an electric dipole of charge q that is centered on the origin where the two charges lie on the y axis and are separated by a distance d.
a. Determine the electric field at an arbitrary position near the dipole. In other words, determine E~ (x, 0).
b. An electron is released from rest at the point (L, 0). Determine the acceleration of the electron at the moment it is released.
c. A proton is released from rest at the point (L, 0). Determine the acceleration of the proton at the moment it is released.
In: Physics