Part A
The pressure inside a hydrogen-filled container was 2.10 atm at 21 ?C. What would the pressure be if the container was heated to 93?C ?
|
Part A The pressure inside a hydrogen-filled container was 2.10 atm at 21 ?C. What would the pressure be if the container was heated to 93?C ? Express your answer numerically in atmospheres.
Part B At standard temperature and pressure (0 ?C and 1.00 atm ), 1.00 mol of an ideal gas occupies a volume of 22.4 L. What volume would the same amount of gas occupy at the same pressure and 65?C ? |
In: Chemistry
What are the major similarities and differences between IAS 32 Financial Instruments: Disclosure and Presentation and IFRS 7 Financial Instruments: Disclosures?
In: Accounting
a. What construct did you use? Insert the snip of your SQL code here:
b. Display the contents of the score table for event 5. Be sure student 12 is displayed. Insert your snip here:
*************************************************************
DATABASE
************************************************************
#---Create and open the database
drop database if exists Class;
CREATE DATABASE Class;
#-- Using the database
USE Class;
# create student table
DROP TABLE IF EXISTS student;
CREATE TABLE student
(
name VARCHAR(20) NOT NULL,
gender ENUM('F','M') NOT NULL,
student_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
PRIMARY KEY (student_id)
);
# create grade event table
DROP TABLE IF EXISTS grade_event;
CREATE TABLE grade_event
(
date DATE NOT NULL,
category ENUM('T','Q') NOT NULL,
event_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
PRIMARY KEY (event_id)
);
# create score table
# The PRIMARY KEY comprises two columns to prevent any
combination
# of event_id/student_id from appearing more than once.
DROP TABLE IF EXISTS score;
CREATE TABLE score
(
student_id INT UNSIGNED NOT NULL,
event_id INT UNSIGNED NOT NULL,
score INT NOT NULL,
PRIMARY KEY (event_id, student_id),
INDEX (student_id),
FOREIGN KEY (event_id) REFERENCES grade_event (event_id),
FOREIGN KEY (student_id) REFERENCES student (student_id)
);
# create absence table
DROP TABLE IF EXISTS absence;
CREATE TABLE absence
(
student_id INT UNSIGNED NOT NULL,
date DATE NOT NULL,
PRIMARY KEY (student_id, date),
FOREIGN KEY (student_id) REFERENCES student (student_id)
);
#--Populate the student table
INSERT INTO student VALUES ('Megan','F',NULL);
INSERT INTO student VALUES ('Joseph','M',NULL);
INSERT INTO student VALUES ('Kyle','M',NULL);
INSERT INTO student VALUES ('Katie','F',NULL);
INSERT INTO student VALUES ('Abby','F',NULL);
INSERT INTO student VALUES ('Nathan','M',NULL);
INSERT INTO student VALUES ('Liesl','F',NULL);
INSERT INTO student VALUES ('Ian','M',NULL);
INSERT INTO student VALUES ('Colin','M',NULL);
INSERT INTO student VALUES ('Peter','M',NULL);
INSERT INTO student VALUES ('Michael','M',NULL);
INSERT INTO student VALUES ('Thomas','M',NULL);
INSERT INTO student VALUES ('Devri','F',NULL);
INSERT INTO student VALUES ('Ben','M',NULL);
INSERT INTO student VALUES ('Aubrey','F',NULL);
INSERT INTO student VALUES ('Rebecca','F',NULL);
INSERT INTO student VALUES ('Will','M',NULL);
INSERT INTO student VALUES ('Max','M',NULL);
INSERT INTO student VALUES ('Rianne','F',NULL);
INSERT INTO student VALUES ('Avery','F',NULL);
INSERT INTO student VALUES ('Lauren','F',NULL);
INSERT INTO student VALUES ('Becca','F',NULL);
INSERT INTO student VALUES ('Gregory','M',NULL);
INSERT INTO student VALUES ('Sarah','F',NULL);
INSERT INTO student VALUES ('Robbie','M',NULL);
INSERT INTO student VALUES ('Keaton','M',NULL);
INSERT INTO student VALUES ('Carter','M',NULL);
INSERT INTO student VALUES ('Teddy','M',NULL);
INSERT INTO student VALUES ('Gabrielle','F',NULL);
INSERT INTO student VALUES ('Grace','F',NULL);
INSERT INTO student VALUES ('Emily','F',NULL);
INSERT INTO student VALUES ('Rachel','F',NULL);
#--Populate grade event table
INSERT INTO grade_event VALUES('2015-09-03', 'Q', NULL);
INSERT INTO grade_event VALUES('
2015-09-06', 'Q', NULL);
INSERT INTO grade_event VALUES('
2015-09-09', 'T', NULL);
INSERT INTO grade_event VALUES('
2015-09-16', 'Q', NULL);
INSERT INTO grade_event VALUES(
'2015-09-23', 'Q', NULL);
INSERT INTO grade_event VALUES('
2015-10-01', 'T', NULL);
#--Populate the score table
INSERT INTO score VALUES (1,1,20);
INSERT INTO score VALUES (3,1,20);
INSERT INTO score VALUES (4,1,18);
INSERT INTO score VALUES (5,1,13);
INSERT INTO score VALUES (6,1,18);
INSERT INTO score VALUES (7,1,14);
INSERT INTO score VALUES (8,1,14);
INSERT INTO score VALUES (9,1,11);
INSERT INTO score VALUES (10,1,19);
INSERT INTO score VALUES (11,1,18);
INSERT INTO score VALUES (12,1,19);
INSERT INTO score VALUES (14,1,11);
INSERT INTO score VALUES (15,1,20);
INSERT INTO score VALUES (16,1,18);
INSERT INTO score VALUES (17,1,9);
INSERT INTO score VALUES (18,1,20);
INSERT INTO score VALUES (19,1,9);
INSERT INTO score VALUES (20,1,9);
INSERT INTO score VALUES (21,1,13);
INSERT INTO score VALUES (22,1,13);
INSERT INTO score VALUES (23,1,16);
INSERT INTO score VALUES (24,1,11);
INSERT INTO score VALUES (25,1,19);
INSERT INTO score VALUES (26,1,10);
INSERT INTO score VALUES (27,1,15);
INSERT INTO score VALUES (28,1,15);
INSERT INTO score VALUES (29,1,19);
INSERT INTO score VALUES (30,1,17);
INSERT INTO score VALUES (31,1,11);
INSERT INTO score VALUES (1,2,17);
INSERT INTO score VALUES (2,2,8);
INSERT INTO score VALUES (3,2,13);
INSERT INTO score VALUES (4,2,13);
INSERT INTO score VALUES (5,2,17);
INSERT INTO score VALUES (6,2,13);
INSERT INTO score VALUES (7,2,17);
INSERT INTO score VALUES (8,2,8);
INSERT INTO score VALUES (9,2,19);
INSERT INTO score VALUES (10,2,18);
INSERT INTO score VALUES (11,2,15);
INSERT INTO score VALUES (12,2,19);
INSERT INTO score VALUES (13,2,18);
INSERT INTO score VALUES (14,2,18);
INSERT INTO score VALUES (15,2,16);
INSERT INTO score VALUES (16,2,9);
INSERT INTO score VALUES (17,2,13);
INSERT INTO score VALUES (18,2,9);
INSERT INTO score VALUES (19,2,11);
INSERT INTO score VALUES (21,2,12);
INSERT INTO score VALUES (22,2,10);
INSERT INTO score VALUES (23,2,17);
INSERT INTO score VALUES (24,2,19);
INSERT INTO score VALUES (25,2,10);
INSERT INTO score VALUES (26,2,18);
INSERT INTO score VALUES (27,2,8);
INSERT INTO score VALUES (28,2,13);
INSERT INTO score VALUES (29,2,16);
INSERT INTO score VALUES (30,2,12);
INSERT INTO score VALUES (31,2,19);
INSERT INTO score VALUES (1,3,88);
INSERT INTO score VALUES (2,3,84);
INSERT INTO score VALUES (3,3,69);
INSERT INTO score VALUES (4,3,71);
INSERT INTO score VALUES (5,3,97);
INSERT INTO score VALUES (6,3,83);
INSERT INTO score VALUES (7,3,88);
INSERT INTO score VALUES (8,3,75);
INSERT INTO score VALUES (9,3,83);
INSERT INTO score VALUES (10,3,72);
INSERT INTO score VALUES (11,3,74);
INSERT INTO score VALUES (12,3,77);
INSERT INTO score VALUES (13,3,67);
INSERT INTO score VALUES (14,3,68);
INSERT INTO score VALUES (15,3,75);
INSERT INTO score VALUES (16,3,60);
INSERT INTO score VALUES (17,3,79);
INSERT INTO score VALUES (18,3,96);
INSERT INTO score VALUES (19,3,79);
INSERT INTO score VALUES (20,3,76);
INSERT INTO score VALUES (21,3,91);
INSERT INTO score VALUES (22,3,81);
INSERT INTO score VALUES (23,3,81);
INSERT INTO score VALUES (24,3,62);
INSERT INTO score VALUES (25,3,79);
INSERT INTO score VALUES (26,3,86);
INSERT INTO score VALUES (27,3,90);
INSERT INTO score VALUES (28,3,68);
INSERT INTO score VALUES (29,3,66);
INSERT INTO score VALUES (30,3,79);
INSERT INTO score VALUES (31,3,81);
INSERT INTO score VALUES (2,4,7);
INSERT INTO score VALUES (3,4,17);
INSERT INTO score VALUES (4,4,16);
INSERT INTO score VALUES (5,4,20);
INSERT INTO score VALUES (6,4,9);
INSERT INTO score VALUES (7,4,19);
INSERT INTO score VALUES (8,4,12);
INSERT INTO score VALUES (9,4,17);
INSERT INTO score VALUES (10,4,12);
INSERT INTO score VALUES (11,4,16);
INSERT INTO score VALUES (12,4,13);
INSERT INTO score VALUES (13,4,8);
INSERT INTO score VALUES (14,4,11);
INSERT INTO score VALUES (15,4,10);
INSERT INTO score VALUES (16,4,20);
INSERT INTO score VALUES (18,4,11);
INSERT INTO score VALUES (19,4,15);
INSERT INTO score VALUES (20,4,17);
INSERT INTO score VALUES (21,4,13);
INSERT INTO score VALUES (22,4,20);
INSERT INTO score VALUES (23,4,13);
INSERT INTO score VALUES (24,4,12);
INSERT INTO score VALUES (25,4,10);
INSERT INTO score VALUES (26,4,15);
INSERT INTO score VALUES (28,4,17);
INSERT INTO score VALUES (30,4,11);
INSERT INTO score VALUES (31,4,19);
INSERT INTO score VALUES (1,5,15);
INSERT INTO score VALUES (2,5,12);
INSERT INTO score VALUES (3,5,11);
INSERT INTO score VALUES (5,5,13);
INSERT INTO score VALUES (6,5,18);
INSERT INTO score VALUES (7,5,14);
INSERT INTO score VALUES (8,5,18);
INSERT INTO score VALUES (9,5,13);
INSERT INTO score VALUES (10,5,14);
INSERT INTO score VALUES (11,5,18);
INSERT INTO score VALUES (12,5,8);
INSERT INTO score VALUES (13,5,8);
INSERT INTO score VALUES (14,5,16);
INSERT INTO score VALUES (15,5,13);
INSERT INTO score VALUES (16,5,15);
INSERT INTO score VALUES (17,5,11);
INSERT INTO score VALUES (18,5,18);
INSERT INTO score VALUES (19,5,18);
INSERT INTO score VALUES (20,5,14);
INSERT INTO score VALUES (21,5,17);
INSERT INTO score VALUES (22,5,17);
INSERT INTO score VALUES (23,5,15);
INSERT INTO score VALUES (25,5,14);
INSERT INTO score VALUES (26,5,8);
INSERT INTO score VALUES (28,5,20);
INSERT INTO score VALUES (29,5,16);
INSERT INTO score VALUES (31,5,9);
INSERT INTO score VALUES (1,6,100);
INSERT INTO score VALUES (2,6,91);
INSERT INTO score VALUES (3,6,94);
INSERT INTO score VALUES (4,6,74);
INSERT INTO score VALUES (5,6,97);
INSERT INTO score VALUES (6,6,89);
INSERT INTO score VALUES (7,6,76);
INSERT INTO score VALUES (8,6,65);
INSERT INTO score VALUES (9,6,73);
INSERT INTO score VALUES (10,6,63);
INSERT INTO score VALUES (11,6,98);
INSERT INTO score VALUES (12,6,75);
INSERT INTO score VALUES (14,6,77);
INSERT INTO score VALUES (15,6,62);
INSERT INTO score VALUES (16,6,98);
INSERT INTO score VALUES (17,6,94);
INSERT INTO score VALUES (18,6,94);
INSERT INTO score VALUES (19,6,74);
INSERT INTO score VALUES (20,6,62);
INSERT INTO score VALUES (21,6,73);
INSERT INTO score VALUES (22,6,95);
INSERT INTO score VALUES (24,6,68);
INSERT INTO score VALUES (25,6,85);
INSERT INTO score VALUES (26,6,91);
INSERT INTO score VALUES (27,6,70);
INSERT INTO score VALUES (28,6,77);
INSERT INTO score VALUES (29,6,66);
INSERT INTO score VALUES (30,6,68);
INSERT INTO score VALUES (31,6,76);
#--Populate the absence table
INSERT INTO `absence` VALUES (3,'2015-09-03');
INSERT INTO `absence` VALUES (5,'2015-09-03');
INSERT INTO `absence` VALUES (10,'2015-09-06');
INSERT INTO `absence` VALUES (10,'2015-09-09');
INSERT INTO `absence` VALUES (17,'2015-09-07');
INSERT INTO `absence` VALUES (20,'2015-09-07');
INSERT INTO `absence` VALUES (22,'2015-09-15');
In: Computer Science
Formulate the outline of a precision pricing policy for a four-star hotel designed to accommodate business guests as well as tourists from all over the world. Explain your answer
In: Operations Management
The chosen Company is Amazon. Financial statements for the years 2016, 2017 and 2018.
A. Analyze the income statement for any potential risk factors and compliance issues with Generally Accepted Accounting Principles (GAAP) or International Financial Recording Standards (IFRS).
B. Analyze the risk factors and compliance issues with GAAP or IFRS on the balance sheet.
C. Using the internal control, analyze the cash and revenue for potential risk factors.
1. What risks need to be documented?
2. How does this information compare to the company or industry averages, or the company’s past performance?
D. Explain the audit universe and how you identified it.
E. Based on your analysis of risk, devise a sampling program for the audit universe.
F. Choose the most preferable audit testing procedures that could be used in the field, based on the audit universe items sampled in this situation.
Please do not copy and paste.
Thank you
In: Accounting
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