1) calculate the [OH-] of a solution having a [H3O+]=2.85x10-6M.
2) A solution is tested with a series of indicatores. the solution turns blue when bromcresol green is added, it turns purple when bromcresol purple is added, and its colorless when phenolphthalein is added. what is the estimated pH of this solution?
3) how does a pH indicator work? provide an equilibrium equation to illustrate your answer.
In: Chemistry
You dig a hole in the ground, removing a volume 0.87 m3 of earth. If the density of the earth is 5044 kg/m3 calculate the weight of the earth removed in N, to 2 sf.
In: Physics
code in C
Step 1
For example: chrLetter = fgetc( pfilInput );
Step 2
typedef struct
{
long lngRecordID;
char strFirstName[ 50 ];
char strMiddleName[ 50 ];
char strLastName[ 50 ];
char strStreet[ 100 ];
char strCity[ 50 ];
char strState[ 50 ];
char strZipCode[ 50 ];
} udtAddressType;
Step 3
Step 4
------------------------------------------------------------
Customer #1
First Name: Luke
Middle Name:
Last Name: Skywalker
Address: 123 Elm Street
City: Corusant
State: Ohio
Zip Code: 45202
------------------------------------------------------------
Customer #2
…
Extra Credit
Extra Extra Credit
In: Computer Science
5. A sandbag is dropped from a hot air balloon that is 315 m above the ground. When the sandbag is dropped, the balloon is rising at 11 m/s. Find (a) the maximum height reached by the bag, (b) its position (relative to the ground) and velocity 4.3 s after it is released, and (c) when the bag hits the ground. PLEASE GO STEP BY STEP AND WRITE THE EQAUTION SO I UNDERSTAND HOW YOU GOT TO THE SOULTION! :) I AM TRYING TO LEARN THE INFO!
In: Physics
Show how it is possible to get the other state functions, G, A, and H, from just S and U.
In: Chemistry
If a discount is not available for a payment based on the discount date, can you still enter the discount? If so, how?
In: Accounting
C++ language:
Class Song
The class will have the following private attributes:
It will also have the following public member functions:
Playing *Title* by *Artist* *playtime* seconds
Implement the missing functions using the template provided.
Class MusicLibrary
MusicLibrary has the following private attributes
Note that mySongs is a pointer that will be used to initialize a dynamic array of songs. You need to handle this dynamic array correctly (e.g. shallow copies, memory deallocation etc.)
playList is a dynamic array of pointers to Songs in the mySongs array.
The class also includes the following public member functions:
This class is partially implemented. Complete the following:
If the Playlist is full, print the following error message
Could not add Song to PlayList. PlayList is full
If the integer denoting the position of a song in the MusicLibrary is invalid, print the following error message
Invalid song
A sample main file has been provided showing the utilization of the functions, as well as a sample input file.
IMPORTANT
main.cpp:
#include <iostream>
#include <string>
#include "Song.h"
#include "MusicLibrary.h"
using namespace std;
int main()
{
string filename;
int numsongs;
cout << "Enter number of Songs " << endl;
cin >> numsongs;
cout << "Enter filename with information about the songs" << endl;
cin >> filename;
MusicLibrary mylibrary(numsongs);
mylibrary.readSongsFromFile(filename);
mylibrary.playRandom();
for (int i = numsongs-1; i >= 0; i--) {
mylibrary.addSongToPlayList(i);
}
mylibrary.playPlaylist();
return 0;
}
musicLibrary.cpp:
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include "MusicLibrary.h"
MusicLibrary::MusicLibrary(int maxsongs)
{
// implement constructor
}
MusicLibrary::MusicLibrary(MusicLibrary& other)
{
// implement copy constructor
}
MusicLibrary::~MusicLibrary()
{
delete[] mySongs;
delete[] playList;
}
int MusicLibrary::getnumSongs()
{
return numSongs;
}
int MusicLibrary::getmaxSongs()
{
return maxSongs;
}
int MusicLibrary::getnumSongsPlayList()
{
return numSongsPlayList;
}
bool MusicLibrary::addSong(string title, string artist, string album, int year, int time)
{
if (numSongs == maxSongs) {
cout << "Could not add song to library. Library is full" << endl;
return false;
}
mySongs[numSongs].setTitle(title);
mySongs[numSongs].setArtist(artist);
mySongs[numSongs].setAlbum(album);
mySongs[numSongs].setYear(year);
mySongs[numSongs].setPlayTime(time);
numSongs++;
return true;
}
bool MusicLibrary::addSong(Song& song)
{
if (numSongs == maxSongs) {
cout << "Could not add Ssong to library. Library is full" << endl;
return false;
}
mySongs[numSongs] = song;
numSongs++;
return true;
}
void MusicLibrary::readSongsFromFile(string filename)
{
ifstream input;
input.open(filename);
bool cont = true;
if (input.is_open()) {
string line;
while ( getline(input, line) && cont ) {
string title, artist, album;
string s_year, s_time;
int year;
int time;
istringstream inSS(line);
getline(inSS, title, ',');
getline(inSS, artist, ',');
getline(inSS, album, ',');
getline(inSS, s_year, ',');
getline(inSS, s_time);
year = stoi(s_year);
time = stoi(s_time);
cont = addSong(title, artist, album, year, time);
};
}
else {
cout << "could not open file " << filename << endl;
}
}
void MusicLibrary::playRandom()
{
// implement this method
}
bool MusicLibrary::addSongToPlayList(int pos)
{
// implement this method
}
void MusicLibrary::playPlaylist()
{
// implement this method
}
musicLibrary.h:
#pragma once
#include <string>
#include "Song.h"
using namespace std;
class MusicLibrary
{
private:
int maxSongs;
int numSongs; // number of Songs in library
Song* mySongs; // dynamic array storing all Songs
int numSongsPlayList; // number of Songs in Playlist
Song** playList; // dynamic array of pointers to Songs
public:
MusicLibrary(int maxsongs);
MusicLibrary(MusicLibrary& other);
~MusicLibrary();
int getnumSongs();
int getmaxSongs();
int getnumSongsPlayList();
bool addSong(string title, string artist, string album, int year, int time);
bool addSong(Song& song);
void readSongsFromFile(string filename);
bool addSongToPlayList(int pos);
void playRandom();
void playPlaylist();
};
song.cpp:
#include <iostream>
#include "Song.h"
void Song::Play()
{
cout << "Playing "<< Title << " by " << Artist << " " << PlayTime << " seconds" << endl;
}
// Add code for constructors, accessors, mutators, and == operator.
song.h:
#pragma once
#include <string>
using namespace std;
class Song {
private:
string Title;
string Artist;
string Album;
int Year;
int PlayTime;
public:
// Add declaration for constructors, accessors and mutators
// Add declaration for overloading the == operator
void Play();
};
songs.txt:
Zoo Station, U2, Achtung Baby, 1991, 203
Youngblood, 5 Seconds of Summer, Youngblood, 2018, 311
Money for Nothing, Dire Straits, Brothers in Arms, 1986, 501
Summer of 69, Bryan Adams, Reckless, 1984, 178
Livin on a Prayer, Bon Jovi, Slippery when Wet, 1986, 241
In: Computer Science
32. The discounted present value of a payment is the value ___ of the payment ___.
a. today; made yesterday
b. tomorrow; made today
c. today; made tomorrow
d. tomorrow; made yesterday
e. yesterday; made today
33. The term structure of interest rates:
a. represents the variation in yields for similar instruments differing only in maturity.
b. reflects differing tax treatment received by different instruments.
c. always results in an upward-sloping yield curve.
d. usually results in an inverted yield curve.
e. depends upon the payment terms of the security – whether coupons are paid out every six months versus every year.
34. When it comes to financial matters, the views of Aristotle can be stated as:
a. usury is nature’s way of helping each other.
b. the fact that money is barren makes it the ideal medium of exchange.
c. charging interest is immoral because money is not productive.
d. when you lend money, it grows more money.
e. interest is too high if it can’t be paid back.
35. Which of the following is true?
a. Early forms of interest arose from the lending of seeds and animals that could reproduce in order to pay off the interest.
b. Ancient Babylonians that lent silver were regulated in terms of how much interest they could charge.
c. In ancient India, temples served a banking function by issuing what we would today call a “bill of exchange.”
d. In England in the 1600s, money began to take the form of tradeable promissory notes.
e. All of the above.
36. The highest 30 year monthly mortgage rate of interest since 1971 was in:
a. August of 2011.
b. March of 2007.
c. July of 1991.
d. October of 1981.
e. May of 1985.
37. According to Louise Yamada, based on interest rate changes in America over the past two hundred years:
a. we should expect rates to have bottomed out in recent years and to rise for many years to come.
b. we have seen ten sharp downturns in interest rates over the many cycles since 1798.
c. interest rates will be falling by 3% to 5% over the next ten years.
d. higher interest rates signal the end of a bull market until they get up to about 5%.
e. None of the above.
38. Which of the following is false about Harvard professor Paul Schmelzing’s views and study of interest rates?
a. When interest rates change, they will rise only very slowly.
b. Most of the depressions in real interest rates for the past 700 years were due to wars and natural catastrophes.
c. His study included rates from Italy in the 14th and 15th centuries.
d. The real rate over the past 700 years has averaged under 5%.
e. The real rate over the past 200 years has averaged 2.6%.
41. During World War I, the marginal income tax rate (which began in 1913) on incomes over $750,000 was:
a. 1%.
b. 11%.
c. 25%.
d. 42%.
e. 76%.
In: Economics
1. Your coworker is late to work one day. You assume he is lazy and didn’t wake up on time. You are forming a(n) ____________ attribution about the cause of your coworker’s tardiness.
|
Intentional |
||
|
Situational |
||
|
Internal |
||
|
Circumstantial |
||
|
External |
2.
Ariana is trying to decide which new phone to buy. Instead of identifying all the options and criteria, allocating weights to them and then rating each phone, she just picks a phone that she believes is good enough. What kind of decision-making did Ariana use?
|
Bounded rationality (satisficing) |
||
|
Availability bias |
||
|
Self-serving bias |
||
|
Escalation of commitment |
||
|
Rational decision-making |
3.
The tendency of people to find like-minded news on Facebook, rather than seeking out sources with alternative perspectives is an example of which type of bias?
|
Self-serving |
||
|
Availability |
||
|
Confirmation |
||
|
Hindsight |
||
|
Anchoring |
4.
All of the following are steps in the creative behavior process EXCEPT:
|
Foster and draw on internal motivation |
||
|
Decide which solutions and ideas are best |
||
|
Learn and collect new information |
||
|
Realize that a problem or opportunity exists |
||
|
Develop ideas and possible solutions to solve the problem |
In: Psychology
A $1 coin is tossed until a head appears, and let N be the total number of times that the $1 coin is tossed. A $5 coin is then tossed N times. Let X count the number of heads appearing on the tosses of the $5 coin. Determine P(X = 0) and P(X = 1).
In: Math
Which of the following best describes the recommendations for calories and micronutrients during pregnancy?
|
More micronutrients are needed, but extra calories are not. |
||
|
All foods are recommended because the need for more calories far surpasses the need for micronutrients. |
||
|
The increased need for calories and micronutrients is equal. |
||
|
Nutrient-dense foods are needed because the need for micronutrients increases more than the need for calories. |
2 points
QUESTION 2
Are all pregnant women expected to gain weight?
|
Yes, all pregnant women are likely to gain weight typically 25-35 pounds regardless of the woman’s pre-pregnancy BMI and age. |
||
|
No, women who are overweight or obese should not gain weight. |
||
|
No, generally women should not gain weight. |
||
|
Yes, all pregnant women are likely to gain weight but the amount of weight gain varies with pre-pregnancy BMI. |
2 points
QUESTION 3
The most common type of anemia in young children is due to…
|
too little protein in the diet |
||
|
a lack of iron from the diet |
||
|
genetics |
||
|
significant blood loss |
2 points
QUESTION 4
What happens when a pregnant woman consumes alcohol?
|
The alcohol enters the developing fetus but it is rare that the alcohol affects its development. |
||
|
The alcohol only enters the developing fetus if the mother consumes too much. |
||
|
The alcohol enters the developing fetus through the umbilical cord and can cause fetal damage. |
||
|
The alcohol from even a small amount will result in developmental damage. |
In: Biology
At time t=0 a grinding wheel has an angular velocity of 29.0 rad/s . It has a constant angular acceleration of 29.0 rad/s2 until a circuit breaker trips at time t = 2.30 s . From then on, the wheel turns through an angle of 433 rad as it coasts to a stop at constant angular deceleration.
A) Through what total angle did the wheel turn between t=0 and the time it stopped?
Express your answer in radians.
B) At what time
does the wheel stop?
Express your answer in seconds.
C) What was the wheel's angular acceleration as it slowed down?
Express your answer in rad/s2.
In: Physics
Kowloon Bank (KB) was established by a wealthy businessman in Hong Kong in 1962, with 26 branches across the city today. As a local bank, the management always wants to maintain the status quo. Just like many other local companies, KB has a masculine culture in which productivity is preferred to employees’ quality of life. In other words, assertiveness, achievements and power are valued within KB.
Catherine Chung is the human resources manager, and has been with KB for more than 5 years. Catherine is open-minded and has an emphasis on the importance of work-life balance, and she believes that employee satisfaction is a prerequisite for the attainment of organizational goals. In this regard, she plans to send an email to all staff members to inform them of a revised policy on maternity leave after she successfully persuaded her superior to make the change.
Before the review, only female employees were entitled to maternity leave. In the revised policy, it extends to all male employees with KB, which is a significant step towards a caring workplace. In the email, Catherine needs to highlight the reason for the change and key features of the revised policy, e.g. eligibility.
Imagine that you are Catherine Chung, and then handle the following two parts:
Part A (5%)
With reference to the information provided, decide the message tone required in the email to all the staff members of SB and justify your answer in no more than 100 words.
Part B (45%)
Write the email to all staff members in a full email format. You need to invent further details to
make the email sufficiently informative and logical. Remember that you will gain no marks by merely copying wording from the question into your answer, and that the letter should not exceed 350 words.
In: Operations Management
Which one of the isomeric C3H9N amines would you expect to have the lowest boiling point? Explain your choice.
CH3CH2CH2NH2, CH3CH2NHCH3, (CH3)3N, (CH3)2CHNH2
Please explain why.
In: Chemistry
5. What is the impact of costly investment on trade balance in
the short run?
(a) It decreases trade balance.
(b) It increases trade balance.
(c) It may decrease or increase trade balance.
(d) It has no impact on trade balance.
6. What is the impact of costly investment on trade balance in
the long run?
(a) It decreases trade balance.
(b) It increases trade balance.
(c) It may decrease or increase trade balance.
(d) It has no impact on trade balance.
7. What is the impact of costly investment on current account in
the short run?
(a) It decreases current account.
(b) It increases current account.
(c) It may decrease or increase current account.
(d) It has no impact on current account.
8. What is the impact of costly investment on current account in
the long run?
(a) It decreases current account.
(b) It increases current account.
(c) It may decrease or increase current account.
(d) It has no impact on current account.
In: Economics