With the establishment of the World Trade Organization (WTO) in 1995 (previously General Agreement on Tariffs and Trade (GATT)) tariffs applied by many countries have been significantly reduced. Nevertheless businesses do still face problem because of the mushrooming of Non-Tariff Measures. discuss
In: Economics
The London Private Hospital has 3 patient services departments – Adult Medicine, Obstetrics and Paediatrics. It also has 3 patient support departments – administration, Facilities and Finance. The revenues of the three patient services departments are:
Adult medicine $12 million
Obstetrics $6 million
Paediatrics $2 million
The direct costs of all 6 departments are:
Adult medicine $6 million
Obstetrics $3.6 million
Paediatrics $1.2 million
Administration $1 million
Facilities $4.4 million
Finance $1.8 million
Direct costs of the support departments are allocated to patient services departments using the direct method on the basis of the % of services provided to the support departments to the patient service departments.
The table below gives the percentages of support provided by the support departments to both each other and the services departments. For example, 10% of admin’s services are provided to the finance department and 20% to obstetrics
| % of services provided by | |||
| service to provide | admin | facilities | finance |
| admin | 0 | 5 | 5 |
| facilities | 10 | 0 | 5 |
| finance | 10 | 10 | 0 |
| adult medicine | 35 | 55 | 50 |
| obstetrics | 20 | 10 | 25 |
| paediatrics | 25 | 20 | 15 |
| Total | 100 | 100 | 100 |
Allocate the support overheads to the 3 patient service departments on the basis of the % of services provided.
b. Calculate the profit and loss position for each of the patient service departments and the hospital as a whole.
c. Should the hospital consider closing down any or all of the patient service departments to increase its profitability or reduce its losses? Explain why or why not.
Hint: All costs of the supporting units are to be allocated to cost objects.
Hint: Allocations rate depends solely on each cost object's cost driver and how much in total is allocated to cost objects
Hint: Allocation rates have a numerator and denominator component. The key is to adjust these based on information provided in the question.
In: Accounting
Suppose that an initially empty queue performs the following operations. enqueue(7), enqueue(3), dequeue(), front(), enqueue(8), enqueue(5), front(), enqueue(4), dequeue(), enqueue(0), dequeue(), dequeue() List, in order, the values that are returned. Give your answer as a single multi-digit number, where each digit represents a single returned value. For example, if the operations returned 3, 1, 4, 1, 5, 9, and 2, in that order, then the answer would be 3141592. (The format 3,141,592 would also be fine.)
In: Computer Science
Write a program
that manages a list of patients for a medical office. Patients should be
represented as objects with the following data members:
•
name (string)
•
patient id # (string)
•
address (string)
•
height (integer; measured in inches)
•
weight (double)
•
date of birth (Date)
•
date of initial visit (Date)
•
date of last visit (Date)
The data member “patient id #” is defined to be a
key
. That is, no two patients can have
the same patient id #. In addition to the standard set of accessors for the above data
members, define the fol
lowing methods for class Patient.
•
standard set of accessors
•
get_age
method: to compute and returns a patient’s age in years (integer)
•
get_time_as_patient
method: to compute the number of years (integer) since
the patient’s initial visit. Note that this va
lue can be 0.
•
get_time_since_last_visit
method:
to compute the number of years (integer)
since the patient’s last visit. This value can be 0, too.
Your program will create a list of patient objects and provide the user with a menu of
choices for accessing
and manipulating the
data on that list. The list must be an object of
the class List that you will define.
Internally, the list object must maintain its list as a
singly linked list with two references, one for head and one for tail.
As usual, your Li
st
class will have the methods “
find,” “
size,” “contains
,” “remove,”
“add,”, “get,”
“getNext,”, “reset,” “toString
,”. At the start, your program should read in patient data
from a text file for an initial set of patients for the list. The name of this file
should be
included on the “command line” when the program is run.
(Don’t hard code
the file name)
Each data item for a patient will appear on a separate line in
the file.
Your program
should be menu-
driven, meaning that it will display a menu of options for the user. The
user will choose one of
these options, and your program will carry out the request. The
program will then display the same menu again and get another
choice from the user.
This interaction will go on until the user chooses QUIT, which should be the last of the
menu’s options. The
menu should look something like the following:
1.
Display list
2.
Add a new patient
3.
Show information for a patient
4.
Delete a patient
5.
Show average patient age
6.
Show information for the youngest patient
7.
Show notification l
ist
8.
Quit
Enter your choice:
Details of each option:
•
Option 1: Display (on the screen) the names and patient id #’s of all patients in
order starting from the first one. Display the
information for one patient per line;
something like: Susan
Smith, 017629
•
Option
2: Add a new patient to the
END
of the list.
All
information about the new
patient (including name, patient id #, etc.)
is to be requested (input) from the user
interactively. That is, you will need to ask for 14 pieces of data from the user.
You’ll, of course, need to create a new patient object to hold this data.
NOTE:
As mentioned above, the patient id # field is a
key
. So, if the user types in
a patient id # that happens to be the same as
an already existing patient’s, then
you should display an error message and cancel the operation. Therefore, it is
probably a
good idea to ask for the patient id # first and test it immediately (by
scanning the objects on the list).
•
Option
3: Display (in a neat format) all the information pertaining to the patien
t
whose patient id # is given by the user. Namely, display the following information:
o
name
o
patient id #
o
address
o
height (shown in feet and inches; for example, 5 ft, 10 in)
o
weight
o
age
o
number of years as a patient (display “less than one year” if 0)
o
number of years since last visit (display “less than one year” if 0)
o
Indication that patient is overdue for a visit
NOTE:
The last item is displayed only if it has been 3 or more years since
the patient’s last visit.
If the user inputs a patient id
# that does
not
exist, then the program should
display an error message and the operation should be canceled (with the menu
immediately being displayed again for another request).
•
Option
4: Delete the patient whose id # is given by the user. If the patient is not
on the
list, display an error message.
•
Option 5: Show the average age (to one decimal place) of the patients.
•
Option
6:
Display (in a neat format) all the information (same as operation 3)
about the youngest patient.
•
Option
7: Display the names (and patient id
#’s) of all patients who are overdue
for a visit. As noted above, “overdue” is
defined as 3 or more years since the last
visit.
•
Option 8: Quit the program.
NOTE:
When the user chooses to quit, you should ask if they would like to save
the patient information to a file. If so, then
you should prompt for the name of an
output (text) file, and then write the data pertaining to
all
patients to that file. The
output for each patient should be in the same format as in the input file. In this
way, your output fil
e can be used as input on
another run of your program. Make
certain to maintain the order of the patients in the output file as they appear on the
list. Be
careful not to overwrite your original input file (or any other file, for that
matter).
Note
:
Try to
implement the various menu options as separate methods (aside
from
“main”)
.
However:
DO NOT DEFINE such “option methods
” as part of the class
List.
Of course, the Java code that implements an option (whether it’s in the “main”
method or not) should def
initely use List’s methods
to help do its job.
In: Computer Science
1- Activity-Based Costing:
Explain three (3) reasons in details, why all manufacturing companies don’t use an activity-based costing system.
2- Cost Behaviors:
Explain in details, what operating leverage means and how a business would apply operating leverage to be successful and more profitable.
In: Accounting
If you take a two-litre plastic soda bottle and blow across the lid, you get a very low note. If you squeeze the bottle and make it flat, you get a higher note. What's going on?
In: Physics
A positron with kinetic energy 2.5 keV is projected into a uniform magnetic field Bvec of magnitude 0.90 T, with its velocity vector making an angle of 89° with Bvec. Find the following values for the positron's helical path.
(a) the period
____s
(b) the pitch
____m
(c) the radius
_____m
In: Physics
examples of where a country/Today/ has an Absolute Advantage, and why there is an increase in Comparative Advantages in today's economy.'
In: Economics
Suppose the charge q2 in the figure can be moved left or right along the line connecting the charges q1 and q3. Given that q = +17
In: Physics
define the following
functional plans
MBO
mission
In: Accounting
I am new to python, and i used python 3. i have to make a new program can anyone give tell mw how to do this.
A) Write a function with the name doubler. The function should take an integer parameter and return twice the value of the integer.
Test the function with the following code:
print(“Double of 6 is”,doubler(6))
The printout should be:
Double of 6 is 12
B) Write a function with the name scoreToLetter. The function should take an integer parameter and give out a letter grade according to the following grade table:
|
Score >=90 |
A |
|
80<=score<90 |
B |
|
70<=score< 80 |
C |
Test the function with the following code:
X = 85
Print (“Your grade is”,scoreToLetter(x))
This should print:
Your grade is B
C) Write a function ‘sumOfThrows’ that takes two parameters ‘throws’ and ‘sides’. ‘sides’ should have a default values of 6. The function should return the sum from doing however many random throws specified for a die with ‘sides’ number of sides.
Test the function.
For example sumOfThrows(1,6) should show the outcome of throwing one six-sided die.
sumOfThrows(3,8) should show the outcome of throwing three dice with sides numbered 1 through 8.
sumOfThrows(2) should show the outcome of throwing two six-sided dice.
D) Move all functions to a module with name myFunctions.py. Import the myFunctions module and test all functions.
E) Submit both myFunction.py and the file with your tests named tests.py
In: Computer Science
The December 31, 20X8, balance sheets for Pint Corporation and
its 70 percent-owned subsidiary Saloon Company contained the
following summarized amounts:
| PINT CORPORATION AND SALOON COMPANY | |||||||
| Balance Sheets December 31, 20X8 |
|||||||
| Pint Corporation | Saloon Company | ||||||
| Assets | |||||||
| Cash & Receivables | $ | 98,000 | $ | 40,000 | |||
| Inventory | 150,000 | 100,000 | |||||
| Buildings & Equipment (net) | 310,000 | 280,000 | |||||
| Investment in Saloon Company | 242,000 | ||||||
| Total Assets | $ | 800,000 | $ | 420,000 | |||
| Liabilities & Equity | |||||||
| Accounts Payable | $ | 70,000 | $ | 20,000 | |||
| Common Stock | 200,000 | 150,000 | |||||
| Retained Earnings | 530,000 | 250,000 | |||||
| Total Liabilities & Equity | $ | 800,000 | $ | 420,000 | |||
Pint acquired the shares of Saloon Company on January 1, 20X7. On
December 31, 20X8, assume Pint sold inventory to Saloon during 20X8
for $100,000 and Saloon sold inventory to Pint for $300,000. Pint’s
balance sheet contains inventory items purchased from Saloon for
$95,000. The items cost Saloon $55,000 to produce. In addition,
Saloon’s inventory contains goods it purchased from Pint for
$25,000 that Pint had produced for $15,000. Assume Saloon reported
net income of $70,000 and dividends of $14,000.
Required:
a. Prepare all consolidation entries needed to complete a
consolidated balance sheet worksheet as of December 31, 20X8.
(If no entry is required for a transaction/event, select
"No journal entry required" in the first account field. Do not
round intermediate calculations.)
Record the basic consolidation entry.
Record the entry to defer this year's unrealized profit on inventory transfers.
In: Accounting
plot this data into a bar graph: PYTHON
data=pandas.read_csv(r'data/tv_shows.txt', low_memory=False)
print((data))
print((data.columns))
TV Shows : Rating 0 --------------------- 1 A Discovery of Witches : 100% 2 Barry : 100% 3 Unforgotten : 100% 4 Veep : 98% 5 Killing Eve : 97% 6 Billions : 96% 7 Les Misérables : 96% 8 Supergirl : 89% 9 Call the Midwife : 80% 10 Game of Thrones : 77% 11 Now Apocalypse : 77% 12 The Red Line : 69% 13 Lucifer : No Score Yet 14 Chernobyl : 95% 15 Dead to Me : 85% 16 Better Things : 100% 17 Brooklyn Nine-Nine : 100% 18 Tuca & Bertie : 100% 19 State of the Union : 100% 20 The Twilight Zone : 75% 21 Happy! : 100% Index(['TV Shows : Rating'], dtype='object')
In [9]:
display(data)
In: Computer Science
At 25 degrees celsius only .0640 mol of the generic salt AB2 is soluble in 1.00 L of water. What is the Ksp of the salt at 25 degrees celsius. I got 1.0 X 10^-3 but the computer says its wrong. Plse help
In: Chemistry
In: Economics