Questions
Compare the GNI Index PPP and GDP PPP between Brazil and the United States for years...

Compare the GNI Index PPP and GDP PPP between Brazil and the United States for years 2015 and 2016.

GNI per capita PPP Brazil for 2015 is:
GNI per capita PPP United States for 2016 is:

GDP per capita PPP Brazil for 2015 is:
GDP per capita PPP United States for 2016 is:



In: Economics

1. Translational motion (Particle in a box) We want to design an experiment about energy quantization...

1. Translational motion (Particle in a box) We want to design an experiment about energy quantization of a hydrogen atom via radiating a light. It is needed to predict which range of light do we have to radiate to excite an electron. Let’s assume the electron feels same potential(V=0) in certain distance(L) from the nucleus of hydrogen. 1. Let’s assume L=5.30x10-11m, me(electron mass)=9.11x10-31kg and ℏ=1.05x10-34m2 kgs-1 .

(a) Make a Hamiltonian for an electron in a hydrogen atom.

(b) Solve the Schrödinger equation using the Hamiltonian you made with applying boundary conditions.

(c) If the electron is in a ground state, which wavelength of light do we need to excite electron to 2nd state? What range the light belongs to (infrared, visible light etc.)?

(d) Which wavelength of light do we need to excite electron from nth state to n+1th state? Does wavelength of light get bigger when n increases?

2. Rotational motion

(a) Show that [?̂ ?,?̂ ?] = ?ℏ?̂ ? , [?̂ ?,?̂ ? ] = ?ℏ?̂ ?, [?̂ ? ,?̂ ?] = ?ℏ?̂ ?.

(b) Show that [?̂2 ,?̂ ? ] = 0, and then, without further calculations, justify the remark that [?̂2 ,?̂ ?] = 0 for all ? = ?, ?, and ?. What does this mean in terms of uncertainty principles?

In: Physics

Articles of Organization Pick a name for a name for your LLC and check with the State of Maryland Department of Assessment and Taxation to see if the name is available.

Articles of Organization Pick a name for a name for your LLC and check with the State of Maryland Department of Assessment and Taxation to see if the name is available. Research the necessary form and adapt that form to properly create the Articles of Organization for your new limited liability company. In creating your new company, choose an address, a resident agent and an address for the resident agent. Identify the purpose of the company and the members of the company who are authorized to sign the document. The Articles of Organization should be sufficient to be accepted by the State of Maryland.

In: Operations Management

Name three innate physical barriers to infection.  Just name them.  3pts Name one skin and one gastrointestinal innate...

  1. Name three innate physical barriers to infection.  Just name them.  3pts
  2. Name one skin and one gastrointestinal innate chemical barrier to infection. 3 pts
  3. Name three domains of the Toll-like receptor. 5 pts
  4. Define what a PAMP is. 5 pts
  5. Name  8 PAMPs and the TLR that recognizes them.  Name the microbe the PAMP is associated with.  8 pts
  6. Define an inflammasome.  How is it activated and in which cells of the body can it be activated in,  when it is activated, what is the cellular response and how does that response contribute to inflammation.  10 pts
  7. Define opsonization.  What are opsonins.  Name three opsonins.  5 pts

In: Biology

IN C++ 7.22 LAB*: Program: Online shopping cart (Part 2) This program extends the earlier "Online...

IN C++

7.22 LAB*: Program: Online shopping cart (Part 2)

This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program).

(1) Extend the ItemToPurchase class per the following specifications:

  • Parameterized constructor to assign item name, item description, item price, and item quantity (default values of 0). (1 pt)
  • Public member functions
    • SetDescription() mutator & GetDescription() accessor (2 pts)
    • PrintItemCost() - Outputs the item name followed by the quantity, price, and subtotal
    • PrintItemDescription() - Outputs the item name and description
  • Private data members
    • string itemDescription - Initialized in default constructor to "none"

Ex. of PrintItemCost() output:

Bottled Water 10 @ $1 = $10


Ex. of PrintItemDescription() output:

Bottled Water: Deer Park, 12 oz.


(2) Create three new files:

  • ShoppingCart.h - Class declaration
  • ShoppingCart.cpp - Class definition
  • main.cpp - main() function (Note: main()'s functionality differs from the warm up)

Build the ShoppingCart class with the following specifications. Note: Some can be function stubs (empty functions) initially, to be completed in later steps.

  • Default constructor
  • Parameterized constructor which takes the customer name and date as parameters (1 pt)
  • Private data members
    • string customerName - Initialized in default constructor to "none"
    • string currentDate - Initialized in default constructor to "January 1, 2016"
    • vector < ItemToPurchase > cartItems
  • Public member functions
    • GetCustomerName() accessor (1 pt)
    • GetDate() accessor (1 pt)
    • AddItem()
      • Adds an item to cartItems vector. Has parameter ItemToPurchase. Does not return anything.
    • RemoveItem()
      • Removes item from cartItems vector. Has a string (an item's name) parameter. Does not return anything.
      • If item name cannot be found, output this message: Item not found in cart. Nothing removed.
    • ModifyItem()
      • Modifies an item's description, price, and/or quantity. Has parameter ItemToPurchase. Does not return anything.
      • If item can be found (by name) in cart, check if parameter has default values for description, price, and quantity. If not, modify item in cart.
      • If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing modified.
    • GetNumItemsInCart() (2 pts)
      • Returns quantity of all items in cart. Has no parameters.
    • GetCostOfCart() (2 pts)
      • Determines and returns the total cost of items in cart. Has no parameters.
    • PrintTotal()
      • Outputs total of objects in cart.
      • If cart is empty, output this message: SHOPPING CART IS EMPTY
    • PrintDescriptions()
      • Outputs each item's description.

Code:

#include <iostream>

#include <string>

#include "ItemToPurchase.h"

using namespace std;

//main

int main()

{

//Declare two objects

ItemToPurchase p1,p2;

string myName;

int myPrice,myQuant;

//Get item1 details

cout<<"Item 1"<<endl;

cout<<"Enter the item name:";

getline(cin,myName);

cout<<"Enter the item price:";

cin>>myPrice;

cout<<"Enter the item quantity:";

cin>>myQuant;

p1.SetName(myName);

p1.SetPrice(myPrice);

p1.SetQuantity(myQuant);

cin.ignore();

//Get item2 details

cout<<"\nItem 2"<<endl;

cout<<"Enter the item name:";

getline(cin,myName);

cout<<"Enter the item price:";

cin>>myPrice;

cout<<"Enter the item quantity:";

cin>>myQuant;

p2.SetName(myName);

p2.SetPrice(myPrice);

p2.SetQuantity(myQuant);

//print total cost

cout<<"\nTOTAL COST"<<endl;

cout<<p1.GetName()<<" "<<p1.GetQuantity()<<" @ $"<<p1.GetPrice()<<" = $"<<p1.GetQuantity()*p1.GetPrice()<<endl;

cout<<p2.GetName()<<" "<<p2.GetQuantity()<<" @ $"<<p2.GetPrice()<<" = $"<<p2.GetQuantity()*p2.GetPrice()<<endl;

cout<<"\nTotal: $"<<p1.GetQuantity()*p1.GetPrice()+p2.GetQuantity()*p2.GetPrice()<<endl;

system("pause");

return 0;

}

In: Computer Science

***In Java language***The first programming project involves writing a program that computes the salaries for a...

***In Java language***The first programming project involves writing a program that computes the salaries for a collection of employees of different types. This program consists of four classes. 1. The first class is the Employee class, which contains the employee's name and monthly salary, which is specified in whole dollars. It should have three methods: a. A constructor that allows the name and monthly salary to be initialized. b. A method named annualSalary that returns the salary for a whole year. c. A toString method that returns a string containing the name and monthly salary, appropriately labeled. 2. The Employee class has two subclasses. The first is Salesman. It has an additional instance variable that contains the annual sales in whole dollars for that salesman. It should have the same three methods: a. A constructor that allows the name, monthly salary and annual sales to be initialized. b. An overridden method annualSalary that returns the salary for a whole year. The salary for a salesman consists of the base salary computed from the monthly salary plus a commission. The commission is computed as 2% of that salesman's annual sales. The maximum commission a salesman can earn is $20,000. c. An overridden toString method that returns a string containing the name, monthly salary and annual sales, appropriately labeled. 3. The second subclass is Executive. It has an additional instance variable that reflects the current stock price. It should have the same three methods: a. A constructor that allows the name, monthly salary and stock price to be initialized. b. An overridden method annualSalary that returns the salary for a whole year. The salary for an executive consists of the base salary computed from the monthly salary plus a bonus. The bonus is $30,000 if the current stock price is greater than $50 and nothing otherwise. c. An overridden toString method that returns a string containing the name, monthly salary and stock price, appropriately labeled. 4. Finally there should be a fourth class that contains the main method. It should read in employee information from a text file. Each line of the text file will represent the information for one employee for one year. An example of how the text file will look is shown below: 2014 Employee Smith,John 2000 2015 Salesman Jones,Bill 3000 100000 2014 Executive Bush,George 5000 55 The year is the first data element on the line. The file will contain employee information for only two years: 2014 and 2015. Next is the type of the employee followed by the employee name and the monthly salary. For salesmen, the final value is their annual sales and for executives the stock price. As the employees are read in, Employee objects of the appropriate type should be created and they should be stored in one of two arrays depending upon the year. You may assume that the file will contain no more than ten employee records for each year and that the data in the file will be formatted correctly. Once all the employee data is read in, a report should be displayed on the console for each of the two years. Each line of the report should contain all original data supplied for each employee together with 2 that employee's annual salary for the year. For each of the two years, an average of all salaries for all employees for that year should be computed and displayed. The google recommended Java style guide, provided as link in the week 2 content, should be used to format and document your code. Specifically, the following style guide attributes should be addressed:  Header comments include filename, author, date and brief purpose of the program.  In-line comments used to describe major functionality of the code.  Meaningful variable names and prompts applied.  Class names are written in UpperCamelCase.  Variable names are written in lowerCamelCase.  Constant names are in written in All Capitals.  Braces use K&R style. In addition the following design constraints should be followed:  Declare all instance variables private  Avoid the duplication of code Test cases should be supplied in the form of table with columns indicating the input values, expected output, actual output and if the test case passed or failed. This table should contain 4 columns with appropriate labels and a row for each test case. Note that the actual output should be the actual results you receive when running your program and applying the input for the test record. Be sure to select enough different kinds of employees to completely test the program.

In: Computer Science

Corporation W owns 100% of the common stock of Corporation Z with a basis of $300....

Corporation W owns 100% of the common stock of Corporation Z with a basis of $300. Z owns a rental building (its only asset) with a gross fair market value of $3,000, subject to a non-recourse mortgage of $1,200. Z’s adjusted basis for this building is $900. Z has $600 of E&P. Z is on the accrual method of accounting and reports on the calendar year. Z and W do not report on a consolidated basis. Z distributes the building to W in complete liquidation and W sells the building to Corporation V for $1,800 cash, subject to the debt. Same facts as above, except that W sells the Z stock to V for $1,800 cash instead of selling the building following a liquidation.

a. V should make a Section 338 election as a normal procedure in order to obtain a cost basis in the Z assets.

b. V should make a Section 338 election because of the tax under 338 on the hypothetical sale unless Z has losses.

c. V should make a 338 election if it is an S Corporation.

d. None of the above.

In: Accounting

Falling Bodies. In the simplest model of the motion of a falling body, the velocity increases...

Falling Bodies. In the simplest model of the motion of a falling body, the velocity increases in proportion to the increase in the time that the body has been falling. If the velocity is given in feet per second, measurements show the constant of proportionality is approximately

32. a) A ball is falling at a velocity of 40 feet/sec after 1 second. How fast is it falling after 3 seconds?

b) Express the change in the ball’s velocity ∆v as a linear function of the change in time ∆t.

c) Express v as a linear function of t. The model can be expanded to keep track of the distance that the body has fallen. If the distance d is measured in feet, the units of d ′ are feet per second; in fact, d ′ = v. So the model describing the motion of the body is given by the rate equations d ′ = v feet per second; v ′ = 32 feet per second per second.

d) At what rate is the distance increasing after 1 second? After 2 seconds? After 3 seconds?

e) Is d a linear function of t? Explain your answer.

In: Physics

Circular Motion

Question:

An airplane experiences a uniform circular motion. The airplane has an initial velocity of \( \vec v \) = [0.500, 0.330] km/s. Two minutes later, the velocity of the airplane is \( - \vec v \). What centripetal acceleration does the pilot experience?

In: Physics

Balance the following chemical reaction by the half reaction by the half reaction method under both...

Balance the following chemical reaction by the half reaction by the half reaction method under both acidic and basic conditions. What was oxidized and what was reduced?

IrO3 + V(OH)4+2 → Ir(OH)5+3 + V+2

In: Chemistry