A recent study in the Journal of Consumer Research suggests that appetite stimuli can make people more impatient in unrelated areas. Participants in the study, all college students, were asked to serve as photo editors for a magazine. Half were randomly selected to view appetite-stimulating pictures of desserts, and the other half viewed non-appetite-stimulating nature pictures. Then the participants were offered a choice between an apartment with a great view and an apartment close to work. The apartment with a great view is the impatient option because it’s associated with more immediate (less delayed) benefits than the apartment close to work. [Source: Li, X. (2008). The effects of appetitive stimuli on out-of-domain consumption impatience. Journal of Consumer Research, 34.]
A total of 65% of the students who viewed dessert photographs picked the apartment with a great view, while 60% of the students who viewed nature photographs chose this option.
Consider this experiment: The study is rerun on a randomly selected college student.
| Let D | = | the event the student views dessert pictures; |
| N | = | the event the student views nature pictures; |
| V | = | the event the student picks the apartment with a great view; and |
| W | = | the event the student picks the apartment close to work. |
The following tree diagram depicts the process of the student being randomly assigned to view either dessert or nature pictures (Step 1) and his or her subsequent choice between the apartment with a great view and the apartment close to work (Step 2).
Find the values of the three designated probabilities, and enter them in the following table (round probabilities to two decimal places).
|
Probability |
Value |
|---|---|
| Probability #1 | |
| Probability #2 | |
| Probability #3 |
What is the probability that the randomly selected student picks the apartment with a great view?
0.375
0.5
0.975
0.625
What is the prior probability that the randomly selected student viewed nature pictures?
0.6
0.8
0.3
0.5
Now use the information that the student picked the apartment with a great view to compute the posterior probability that the student viewed nature pictures. The posterior probability is .
Given the information that the student picked the apartment with a great view, what’s the posterior probability that the student viewed dessert pictures?
0.33
0.30
1.92
0.52
In: Statistics and Probability
In 2010, the Institute of Medicine released a report entitled The Future of Nursing. In 2020, we are now at the 10th anniversary of its publication. Although you do not have the full report in front of you, the key areas addressed in the report are listed below. For each of the eight areas, give your opinion of whether or not the goal has been fully met, partially met, or not met. Then for goals #1, #2, #6, #7, and either #4 or #5, discuss how you in a role as a staff RN can contribute to the achievement of the goals or to the further advancement of the goal if you believe it has already been met.
Key Areas Addressed:
1. Remove scope-of-practice barriers
2. Expand opportunities for nurses to lead and diffuse collaborative improvement efforts.
3. Implement nurse residency programs.
4. Increase the proportion of nurses with a baccalaureate degree to 80% by 2020.
5. Double the number of nurses with a doctorate by 2020.
6. Ensure that nurses engage in lifelong learning.
7. Prepare and enable nurses to lead changes to advance health
8. Build an infrastructure for the collection and analysis of inter-professional healthcare workforce data.
All postings are to be in complete sentences. You may answer the met/not met with simple sentences - Goal #x is met. Goal #y is not met. as examples. When speaking to the five goals, you must address how you can assist the profession in meeting/improving each goal's response in a full paragraph with at least four sentences.
In: Nursing
Using your own personal experiences and knowledge please discuss the following question: Do you believe that accounting is critical to our economic system? Why is it an integral part of our economic system Explain. Support your answers with at least one practical example. Why did you choose accounting as your major? If it is not your major, explain your reason for your selection of your major What is a CPA? What service can a CPA provide that a non CPA accountant cannot regardless of how many other qualifications he/she has including a doctorate in accounting? What are some of the specializations in the accounting field? Discuss one or more of them. Which one are you considering if you are an Accounting major? Post a job description detailing the responsibilities and requirements on any accounting position that requires a minimum of a Bachelor's degree. Was there anything about that job description that surprised you (pleasant or unpleasant) Your responses must be numbered according to each question above. You do not need to reproduce the question. You must meet a minimum length of 750 words (excluding citations, the job description and my questions) and must be posted as response to my thread in this forum with the same subject line as above followed by your last name. Use any acceptable form of citation. There is an automatic 5 point deduction for submissions with no citations or citations in poor format. Please do not use attachments when posting your work.
In: Accounting
OBSERVATIONS
| Trial | Right Cell Metal | Right Cell Solution | Left Cell Metal | Left Cell Solution | Total Voltage |
| #1 | Lead | 4 mL of 0.1 M Lead Nitrate [Pb(NO3)2] | Copper | 40 mL of 0.1M Copper Nitrate [Cu(NO3)2] | 0.47 v |
| #2 | Lead | 4 mL of 0.1M Lead Nitrate [Pb(NO3)2] | Silver | 40 mL of 0.1M Silver Nitrate [AgNO3] | 0.90 v |
| #3 | Lead | 4 mL of 0.1MLead Nitrate [Pb(NO3)2] | Platinum | 20 mL of 0.1M Iron III Sulfate [Fe2(SO4)3] & 20 mL of 0.2M Iron II Sulfate [FeSO4] | 0.91 v |
| #4 | Copper | 4 mL of 0.1M Copper Nitrate [Cu(NO3)2] | Silver | 40 mL of 0.1M Silver Nitrate [AgNO3] | 0.43 v |
| #5 | Copper | 4 mL of 0.1M Copper Nitrate [Cu(NO3)2] | Platinum | 20 mL of 0.1M Iron III Sulfate [Fe2(SO4)3] & 20 mL of 0.2M Iron II Sulfate [FeSO4] | 0.44 v |
| #6 | Silver | 4 mL of 0.1M Silver Nitrate [AgNO3] | Platinum | 20 mL of 0.1M Iron III Sulfate [Fe2(SO4)3] & 20 mL of 0.2M Iron II Sulfate [FeSO4] | -0.02 v |
| Trial | Right Cell Metal | Right Cell Solution | Left Cell Metal | Left Cell Solution | Total Voltage |
| #1 | Lead | 4 mL of 1.0M Lead Nitrate [Pb(NO3)2] | Copper | 40 mL of 1.0M Copper Nitrate [Cu(NO3)2] | 0.47 v |
| #2 | Lead | 4 mL of 1.0M Lead Nitrate [Pb(NO3)2] | Silver | 40 mL of 1.0M Silver Nitrate [AgNO3] | 0.93 v |
| #3 | Lead | 4 mL of 1.0M Lead Nitrate [Pb(NO3)2] | Platinum | 20 mL of 1.0M Iron III Sulfate [Fe2(SO4)3] & 20 mL of 2.0M Iron II Sulfate [FeSO4] | 0.91 v |
| #4 | Copper | 4 mL of 1.0M Copper Nitrate [Cu(NO3)2] | Silver | 40 mL of 1.0M Silver Nitrate [AgNO3] | 0.46 v |
| #5 | Copper | 4 mL of 1.0M Copper Nitrate [Cu(NO3)2] | Platinum | 20 mL of 1.0M Iron III Sulfate [Fe2(SO4)3] & 20 mL of 2.0M Iron II Sulfate [FeSO4] | 0.44 v |
| #6 | Silver | 4 mL of 1.0M Silver Nitrate [AgNO3] | Platinum | 20 mL of 1.0M Iron III Sulfate [Fe2(SO4)3] & 20 mL of 2.0M Iron II Sulfate [FeSO4] | -0.02 v |
| Trial | Right Cell Metal | Right Cell Solution | Left Cell Metal | Left Cell Solution | Total Voltage |
| #1 | Silver | 4 mL of 0.1M Silver Nitrate [AgNO3] | Silver | 40 mL of 1.0M Silver Nitrate [AgNO3] | 0.06 v |
| #2 | Silver | 4 mL of 0.1M Silver Nitrate [AgNO3] | Silver | 40 mL of 0.1M Silver Nitrate [AgNO3] | 0.00 v |
| #3 | Silver | 4 mL of 0.1M Silver Nitrate [AgNO3] | Silver | 40 mL of 0.1M Silver Nitrate [AgNO3] & 400 mL Water | -0.06 v |
CONCLUSIONS:
1. When comparing the Part 1 and Part 2 data, how did the voltages differ when varying concentrations?
4 of the trials voltage charge remained the same, while 2 of the trials went up in voltage, increased by 0.03 v.
2. Based off your data, what are the standard half-cell potentials for Silver and Iron/Platinum? Explain your reasoning.
3. When comparing your data in Part 3, how did varying the concentration affect the voltage? Which trial had the largest voltage? Which trial had the lowest voltage?
The voltage decreased with each variation. Trial #1 had the largest voltage and trial #3 had the lowest voltage.
4. In the following reactions, determine which element is oxidized and which one is reduced.
- Sn + 4 HNO3 ------- SnO2 + 4 NO2 + 2 H2O
Oxidized Element: Sn ------- SnO2
Reduced Element: 4HNO3 ------ 4NO2
- Mg + Br2 ---------- MgBr2
Oxidized Element: Mg ----- Mg
Reduced Element: 2Br ------ 2Br
In: Chemistry
A study of North York University students showed the mean age of
all students in the first year of university to be 19.6 years old
with a standard deviation of 1.06 years. A randomly selected
subgroup of these first-year students also averaged 19.4 years in
age with a standard deviation 1.05 years.
a) Are the numbers 19.6 and 1.06 statistics or parameters?
Explain.
b) Are the numbers 19.4 and 1.05 statistics or parameters? Explain.
c) Select any correct pair of labels and values below:
In: Statistics and Probability
Please do not reply to this question by copy pasting the code that someone wrote for this question because it is incorrect. The code written before for this messes up two vectors. Please make sure you write a new code without that error.
8.10 Project 4 - Help me Sort My Roster
About
The class roster program is working really well. However, it would be nice to be able to sort students based on first name, last name, or their grade. I would like a program where I can choose how my roster is sorted and then print out the class summary
Specification
Unlike past assignments which test matching output this assignment tests output along with testing your functions directly using unit tests. The unit tests will use your functions with hardcoded vectors, if the tests fails the unit tests will print out what it expected compared to what your function did when sorting. If you have any questions please reach out via email, discussion board, or during office hours.
#include <iostream>
#include <vector>
#include <string>
#include <locale>
#include <iomanip>
using namespace std;
void PrintWelcome();
void GetNumberOfStudents(int &numOfStudents);
void PrintMenu();
char GetUserSelection();
void PrintSummary(const vector<string> &students, const
vector<double> &grades);
void AddStudent(vector<string> &students,
vector<double> &grades);
void RemoveStudent(vector<string> &students,
vector<double> &grades);
void SortByFirstName(vector<string> &students,
vector<double> &grades);
void SortByLastName(vector<string> &students,
vector<double> &grades);
void SortByGrade(vector<string> &students,
vector<double> &grades);
int main() {
const char QUIT = 'q';
const char ADD = 'a';
const char REMOVE = 'r';
const char PRINT = 'p';
const char MENU = 'm';
string thankYou = "Thank you for entering your students
information!\n";
string notValid = "Not a valid selection.\n";
char selection;
int numOfStudents;
vector<string> students;
vector<double> grades;
//Print the Welcome Message
PrintWelcome();
//Get Number of Students
GetNumberOfStudents(numOfStudents);
//Add the total number of students to the student and grades
vectors
for(int i = 0; i <numOfStudents; i++){
AddStudent(students, grades);
}
//Print thank you message
cout << thankYou;
//Print the Roster Menu
PrintMenu();
//Get the users selection
selection = GetUserSelection();
while(selection != QUIT){
if(selection == ADD){
AddStudent(students, grades);
}
else if(selection == REMOVE){
RemoveStudent(students, grades);
}
else if(selection == PRINT){
PrintSummary(students, grades);
}
else if(selection == MENU){
PrintMenu();
}
/*Provide Implementation for other menu options*/
else{
cout << notValid;
}
selection = GetUserSelection();
}
}
void PrintWelcome(){
string welcome = "Welcome to the student roster!\n";
cout << welcome;
}
void GetNumberOfStudents(int &numOfStudents){
string numOfStudentsQuestion = "How many students are in your
class?:\n";
cout << numOfStudentsQuestion;
cin >> numOfStudents;
}
void PrintMenu(){
string menu = "Please choose one of the following options:\n"
"a: add a student\n"
"r: remove a student\n"
"p: print the class summary\n"
"m: print menu\n"
"f: sort - first name\n"
"l: sort - last name\n"
"g: sort - grade\n"
"q: quit program\n";
cout << menu;
}
char GetUserSelection(){
string selectionString = "selection:\n";
char selection;
cout << selectionString;
cin >> selection;
return selection;
}
void PrintSummary(const vector<string> &students, const
vector<double> &grades){
string summaryHeading = "Class Summary\n"
"------------------------\n";
string nameGradeHeading = "Name Grade\n"
"--------- --------\n";
string numOfStudentsString = "Number of Students:\n"
"-------------------\n";
string averageGradeString = "Average Grade:\n"
"--------------\n";
double sum = 0.0;
double average = 0.0;
int numOfStudents = students.size();
cout << endl;
cout << summaryHeading << nameGradeHeading;
for(int i = 0; i < students.size(); i++){
sum += grades.at(i);
cout << left << setw(20) << students.at(i)
<< setprecision(2) << fixed << grades.at(i)
<< endl;
}
cout << numOfStudentsString << numOfStudents <<
endl;
cout << averageGradeString << setprecision(2) <<
fixed << sum/numOfStudents << endl;
cout << endl;
}
void AddStudent(vector<string> &students,
vector<double> &grades){
string studentInfo = "Please enter student (First Last Grade)
info:\n";
string firstName, lastName;
double grade;
cout << studentInfo;
cin >> firstName >> lastName >> grade;
students.push_back(firstName + " " + lastName);
grades.push_back(grade);
}
void RemoveStudent(vector<string> &students,
vector<double> &grades){
string removeStudent = "Please enter students first and last
name";
string firstName, lastName;
cout << removeStudent;
cin >> firstName >> lastName;
string fullName = firstName + " " + lastName;
for(int i = 0; i < students.size(); i++){
if(students.at(i) == fullName) {
students.erase(students.begin() + i);
grades.erase(grades.begin() + i);
cout << "Removing: " << fullName;
}
}
}
void SortByFirstName(vector<string> &students,
vector<double> &grades){
/*Provide Implementation*/
}
void SortByLastName(vector<string> &students,
vector<double> &grades){
/*Provide Implementation*/
}
void SortByGrade(vector<string> &students,
vector<double> &grades){
/*Provide Implementation*/
}
In: Computer Science
Create a List
Create a class that holds an ordered list of items. This list should have a variable size, most importantly this class should implement the interface SimpleArrayList. Feel free to add as many other functions and methods as needed to your class to accomplish this task. In other words, you have to write the code for each of the functions specified in the SimpleArrayList interface.
You are not allowed to use any 3rd party data structures or libraries such as Java.Utils.ArrayList or Java.awt.ArrayList
Please use the class SimpleArrayListUnitTest.java to test your code, it is a JUnit test that contains 49 different tests that test all the functions of your class.
(using Eclipse.. I don't have any idea :()
In: Computer Science
It has been reported that 42% of college students graduate in 4 years. Consider a random sample of thirty students, and let the random variable X be the number who graduate in 4 years.
Find the probability that 14 or fewer students in the sample graduate in 4 years.
In: Statistics and Probability
10. Suppose the proportion of all college students who have changed their major in the last two semesters is 60%. If a class of 200 students is considered. What is the probability that the proportion of students who may change their major in the next 2 semesters are more than 115?
In: Statistics and Probability
In: Economics