write about 500 words which describes a violating social norm( eg. violating elevator/ bus / restaurant etiquette, wearing clothes that is " inappropriate" for the setting). explain your experience and other people's reactions.
In: Psychology
Given the following schema, write the Relational Algebra and SQL statements for the given conditions:Depositor (customer_name, account_number) Borrower (customer_name, loan_number) Loan ( branch_name, loan_number, amount) Account (branch_name, account_number, balance) Branch(branch_name, branch_city, assets) Customer (customer_name, customer_street, customer_city) 1. Find all the customers who have a loan and an account 2. Find the minimum account balance at the Downtown branch. 3. Find the number of tuples in the customer relation. 4. Find the names of all the account numbers and the branch names whose balance is over BD1000. 5. Find the sum of the loans whose branch name is Mianus. 6. Find the number of customers who have a loan. 7. Find the maximum amount of loan taken by a customer. 8. Find the names of the branches and their branch cities whose assets are greater than 50000 and less than 80000.
In: Computer Science
Circular Motion, Kinetic Energy, Work and Power
Wind energy is the fastest growing renewable energy source, the US has a goal of producing 20 percent of it’s electricity from wind by 2030. All of our energy options come with a set of pros and cons of varying degrees. One concern, which is minor unless it lands on your house, with wind turbines is ice throw off from the tips of the blade. Consider a 50 meter radius wind turbine (about 3 MW) rotating clockwise 15 times a minute with a hub height of 150 meters. Calculate the following for a 100 kg piece of ice at the tip of the turbine blade (r=50m):
a) The angular velocity of the rotating blades in radians per second, the period, or time it takes for a rotor blade to make one revolution and the frequency, or number of rotations made in one second.
b) The magnitude of the force required at the top circular path to keep the piece of ice in circular motion.
c) The magnitude of the force required at the bottom of the circular path to keep the piece of ice in circular motion.
d) The range or distance the piece of ice would travel if it was released at the highest point in the rotation. Consider clockwise rotation so the ice lands in the positive x direction.
e) The kinetic energy of the piece of ice upon release.
f) The kinetic energy of the piece of ice upon landing.
g) The work done by the gravitational force from release to landing.
h) Is this the maximum range? Is this the most likely point of release? Briefly explain your reasoning.
In: Physics
2. Describe the difference between a material that is strong vs. a material that is tough. Draw an example of the stress-strain curve of each.
In: Physics
Five moles of monatomic ideal gas are contained at a pressure of 4 atm and a temperature of 250 K. 35400 J of heat are transferred to the gas. Then, the gas pressure is used to expand a piston, and the expanding gas does 1200 J of work against its surroundings. However, the piston is not perfectly insulated, and 600 J of heat is lost from the gas during the expansion. All processes are reversible. Calculate the final temperature of the gas.
In: Chemistry
A particular smoke detector contains 1.95 μCi of 241Am, with a half-life of 458 years. The isotope is encased in a thin aluminum container. Calculate the mass of 241Am in grams in the detector.
Express your answer numerically in grams.
In: Chemistry
In: Chemistry
What three issues are at the center of the debate regarding the accuracy of the CPI? Give an example of each issue.
In: Economics
You are given the partial implementation of class IntegerLinkedList which stores integers in the inked list. Add a public member function that does the following:
// Complete this for Problem 2
int getSmallestIndex(): return the smallest of integers stored in the linked list.
A main file (prob2.cpp) is provided:
#include <iostream>
#include <string>
#include "IntegerLinkedList.h"
using std::string;
using std::cout;
using std::endl;
int main() {
{
IntegerLinkedList mylist;
mylist.addFront(10);
mylist.addFront(17);
mylist.addFront(23);
mylist.addFront(17);
mylist.addFront(92);
if (mylist.getIndexSmallest() == 4)
cout << "PASSED" << endl;
else
cout << "Result did not match expected answer: 4" << endl;
}
{
IntegerLinkedList mylist;
mylist.addFront(10);
mylist.addFront(17);
mylist.addFront(23);
mylist.addFront(37);
mylist.addFront(2);
if (mylist.getIndexSmallest() == 0)
cout << "PASSED" << endl;
else
cout << "Result did not match expected answer: 0" << endl;
}
// system("pause"); // comment/uncomment if needed
}
// ADD ANSWER TO THIS FILE
#pragma once
class SNode {
public:
int data;
SNode *next;
};
class IntegerLinkedList {
private:
SNode *head;
bool isLesser (SNode *ptr, int compare) {
return false; // COMPLETE THIS FOR PROBLEM 3
}
public:
IntegerLinkedList() {
head = nullptr;
}
void addFront(int x) {
SNode *tmp = head;
head = new SNode;
head->next = tmp;
head->data = x;
}
int getIndexSmallest(); // COMPLETE THIS FOR PROBLEM 2
// recursion helper function called from main
bool isLesserHelper (int compare) {
return isLesser(head, compare);
}
};
Add a recursive function called isLesser to class IntegerLinkedList to calculate the smallest of the linked list’s data values (same as in Problem 2 but recursive).
A recursion “helper” function is already included in class IntegerLinkedList. You only need to write the recursive function.
//PROBLEM 3
#include <iostream>
#include <string>
#include "IntegerLinkedList.h"
using std::string;
using std::cout;
using std::endl;
int main() {
{
IntegerLinkedList mylist;
mylist.addFront(10);
mylist.addFront(17);
mylist.addFront(23);
mylist.addFront(17);
mylist.addFront(92);
if (mylist.isLesserHelper(15))
cout << "PASSED" << endl;
else
cout << "Result did not match expected answer: true" << endl;
if (!mylist.isLesserHelper(5))
cout << "PASSED" << endl;
else
cout << "Result did not match expected answer: false" << endl;
if (mylist.isLesserHelper(100))
cout << "PASSED" << endl;
else
cout << "Result did not match expected answer: true" << endl;
}
// system("pause"); // comment/uncomment if needed
}
// ADD ANSWER TO THIS FILE
#pragma once
class SNode {
public:
int data;
SNode *next;
};
class IntegerLinkedList {
private:
SNode *head;
bool isLesser (SNode *ptr, int compare) {
return false; // COMPLETE THIS FOR PROBLEM 3
}
public:
IntegerLinkedList() {
head = nullptr;
}
void addFront(int x) {
SNode *tmp = head;
head = new SNode;
head->next = tmp;
head->data = x;
}
int getIndexSmallest(); // COMPLETE THIS FOR PROBLEM 2
// recursion helper function called from main
bool isLesserHelper (int compare) {
return isLesser(head, compare);
}
};In: Computer Science
A 9200 kg boxcar traveling at 19 m/s strikes a second boxcar at rest. The two stick together and move off with a speed of 10 m/s. What is the mass of the second car?
In: Physics
psychology question
Explain why Sandra Aamodt believes why dieting doesn't usually
work. Do you believe her? Why or why not? Be detailed in your
answer and base your analysis on points brought up in Ted talk, or
readings
In: Psychology
Dobrinski Corporation has provided the following information concerning a capital budgeting project:
| After-tax discount rate | 14 | % | |
| Tax rate | 30 | % | |
| Expected life of the project | 4 | ||
| Investment required in equipment | $ | 274,000 | |
| Salvage value of equipment | $ | 0 | |
| Working capital requirement | $ | 38,500 | |
| Annual sales | $ | 715,000 | |
| Annual cash operating expenses | $ | 531,000 | |
| One-time renovation expense in year 3 | $ | 72,750 | |
The company uses straight-line depreciation on all equipment. Assume cash flows occur at the end of the year except for the initial investments. The company takes income taxes into account in its capital budgeting.
Click here to view Exhibit 13B-1 to determine the appropriate discount factor(s) using table.
The net present value of the project is closest to: (Round intermediate calculations and final answer to the nearest dollar amount.)
Garrison 16e updates 06-15-2018
Garrison 16e Rechecks 2018-09-04
$144,380
$231,250
$110,974
$61,649
In: Accounting
Calculate the mass of water produced when 6.39 g of butane reacts with excess oxygen
In: Chemistry
Explain why airlines price discriminate. Describe the various degrees of price discrimination. For example, why would an airline lower price for special weekend getaways or for senior citizens? Do charging different prices to coach and first class passengers represent price discrimination? Why or why not?
In: Economics
The Chocolate Ice Cream Company and the Vanilla Ice Cream Company have agreed to merge and form Fudge Swirl Consolidated. Both companies are exactly alike except that they are located in different towns. The end-of-period value of each firm is determined by the weather, as shown below. There will be no synergy to the merger.
| State | Probability | Value | ||||
| Rainy | .1 | $ | 400,000 | |||
| Warm | .4 | 580,000 | ||||
| Hot | .5 | 1,100,000 | ||||
The weather conditions in each town are independent of those in
the other. Furthermore, each company has an outstanding debt claim
of $580,000. Assume that no premiums are paid in the merger.
a. What are the possible values of the combined company?
(Do not round intermediate
calculations.)
| Possible states | Joint Value | ||
| Rain-Rain | $ | ||
| Rain-Warm | |||
| Rain-Hot | |||
| Warm-Warm | |||
| Warm-Hot | |||
| Hot-Hot | |||
b. What are the possible values of
end-of-period debt and stock after the merger? (Leave no
cells blank - be certain to enter "0" wherever required. Do not
round intermediate calculations.)
| Debt Value | Stock Value | ||||
| Rain-Rain | $ | $ | |||
| Rain-Warm | |||||
| Rain-Hot | |||||
| Warm-Warm | |||||
| Warm-Hot | |||||
| Hot-Hot | |||||
c. How much do stockholders and bondholders
each gain or lose if the merger is undertaken? (A negative
answer should be indicated by a minus sign. Do not round
intermediate calculations.)
| Bondholder gain/loss | $ | ||
| Stockholder gain/loss | $ |
In: Finance