Questions
How do I calculate the theoretical yield of the product in grams and mol?

How do I calculate the theoretical yield of the product in grams and mol?

In: Chemistry

Was Elon Musk punished for his inventions?

Was Elon Musk punished for his inventions?

In: Economics

A projectile (mass = 0.25 kg) is fired at and embeds itself in a stationary target...

A projectile (mass = 0.25 kg) is fired at and embeds itself in a stationary target (mass = 2.54 kg). With what percentage of the projectile's incident kinetic energy does the target (with the projectile in it) fly off after being struck?

In: Physics

. Consumption vs Saving – What are the short-run and long-run trade-offs between consumption and savings....

. Consumption vs Saving – What are the short-run and long-run trade-offs between consumption and savings. Answer with reference to the Keynesian model and Solow growth model.

In: Economics

Assume the following declarations have been made: ----------------------------------- char item[50]; char guess; ----------------------------------- Furthermore, suppose that...

Assume the following declarations have been made:

-----------------------------------
char item[50];
char guess;

-----------------------------------
Furthermore, suppose that all of the elements of an item have already been initialized, and that the user has already entered a value for guess.


Write a code fragment to find and print out each index i for which item[i] is the same as guess.

Be sure to specify any additional necessary variable declarations.


As an example, consider the case where the rst 10 elements of item are (in order)
'a', 'b', 'c', 'd', 'a', 'b', 'b', 'c', 'f', 'a',


and the remaining elements are all 'y'. If guess were 'b', then your code should print out the following indices:
1 5 6

In: Computer Science

Starting with Maxwell's equations show that the magnetic field satisfies the same wave equation as the...

Starting with Maxwell's equations show that the magnetic field satisfies the same wave equation as the electric field. in particular, that is, too, propagates with the same speed.

In: Physics

You are a legal assistant for the attorney of the FUN company. You must conduct research...

You are a legal assistant for the attorney of the FUN company. You must conduct research and find three (3) court opinions (i.e. cases that have been previously decided by the court) that are precedent (i.e. have similar facts and issues of law) to the case below. You must provide the case title and citation of each of the three (3) cases you find.

Three months ago the CEO for FUN Company sent a letter to the Pastor for the Church of Stranger Things pledging a $3,000,000.00 donation to the Church. Upon receipt of this news, the Pastor contacted FUN’s CEO who re-assured the Pastor that the Church would be receiving a check for this amount within the ensuing four to six weeks. The Pastor, who for several years had wanted to expand the Church in order to increase its congregation, immediately hired an architect and paid him $400,000.00 to design the new ambitious project. The Pastor was in love with the architect’s design, so he quickly hired a general contractor for $750,000.00 to start the building process. In addition to the $750,000.00 for the labor, the Pastor paid another 1,100,000.00 for the tools and materials needed for the project. Five weeks after receiving the letter and first speaking to FUN’s CEO on the phone, the bishop called FUN because he was nervous about the fact that he had not received the check and he had already incurred such significant expenses. Note that the only reason the Pastor engaged in this ambitious construction project was because of the extra money he was counting on getting from FUN since the Church’s structure did not need it to continue its regular operations. The CEO at that point told the Pastor that soon after committing to donate the money, FUN’s finances started going terribly wrong and as such at this point, they were not able to make a donation to the church. The Pastor is now demanding that FUN still true to its word and give the church the donation.

In: Accounting

Python 3.5: Consider the Account class that we developed previously. Task 1: Review the code in...

Python 3.5:

Consider the Account class that we developed previously.

Task 1:

Review the code in the constructor in the Account class. What happens if we attempt to make a new account with a negative balance? Use exception handling to raise an exception if a balance less that 0 is given. Add a message to the constructor saying "Warning! Your balance is equal to or less than 0!".

Task 2:

Next, in the Account class's withdraw() method, add code to check if the amount given exceeds the account's balance. If it does, then raise a ValueError. Add a message to the withdraw() method saying "ERROR: Insufficient funds!". The balance in the account should remain unchanged.

Also, add code to check if the amount of withdrawal is zero. You should raise a ValueError if the amount is less than or equal to zero.

Note: you must submit the entire class definition.

For example:

Test Output
try:
account1 = Account(1122, 0, 3.35)
except ValueError as x:
print (x)
Warning! Your balance is equal to or less than 0.
try:
account2 = Account(1122, 100, 3.35)
account2.withdraw(200)
except ValueError as x:
print (x)
print(account2.get_balance())
ERROR: Insufficient funds!
100
try:
account2 = Account(1122, 100, 3.35)
account2.withdraw(0)
except ValueError as x:
print (x)
print(account2.get_balance())
ERROR: Invalid amount!
100

Account Code:

------------------------------------------------------

class Account:

def __init__(self, id, balance: int=None, annual_interest_rate: int=None):
if balance > 0:
self.__id = id
if balance == None:
self.__balance = 100
else:
self.__balance = balance
if annual_interest_rate == None:
self.__annualInterest = 0
else:
self.__annualInterest = annual_interest_rate
else:
raise ("Warning! Your balance is equal to or less than 0!")
def get_id(self):
return self.__id
def get_balance(self):
return self.__balance
def get_annual_interest_rate(self):
return self.__annualInterest
def get_monthly_interest_rate(self):
return (self.__annualInterest/12)
def get_monthly_interest(self):
return (self.__balance * (self.__annualInterest/12)/100)
def deposit(self, amount: int=None):
if amount == None:
deposit = 0
else:
deposit = amount
self.__balance = self.__balance + amount
return
def withdraw(self, amount: int=None):
if amount == None:
withdraw = 0
else:
withdraw = amount
self.__balance = self.__balance - withdraw
return
def get_balance(self):
return self.__balance

In: Computer Science

1. Draw a use case diagram for the selected project and identify the classes in the...

1. Draw a use case diagram for the selected project and identify the classes in the domain with attributes, functions, and relationships among classes. (State your assumptions clearly).

2. Design a database for the selected project. Please draw the following diagrams necessary to develop your database.

a. ER-diagram (Entity-relationship diagram)

b. Normalization of the database up to 3rd normal form. (Only if needed, if not needed justify).

My selected project is:

Develop a system to automate membership details and time allocation for swimmers in a swimming club. All users should take membership and pay monthly for usage. Usage could be with a coach or without. The program should produce and income report for a given month

In: Computer Science

how Darwin explained the abundance of marsupials in Australia that were ecologically equivalent to placental mammals...

how Darwin explained the abundance of marsupials in Australia that were ecologically equivalent to placental mammals elsewhere?

In: Biology

Wendy and Wayne are evaluating a project that requires an initial investment of $867,000 in fixed...

Wendy and Wayne are evaluating a project that requires an initial investment of $867,000 in fixed assets. The project will last for eight years, and the assets have no salvage value. Assume that depreciation is straight-line to zero over the life of the project. Sales are projected at 94,000 units per year. Price per unit is $38, variable cost per unit is $27, and fixed costs are $882,606 per year. The tax rate is 31 percent, and the required annual return on this project is 14 percent. The projections given for price, quantity, variable costs, and fixed costs are all accurate to within +/- 16 percent. Required:

(a) Calculate the best-case NPV. (Do not round your intermediate calculations.)

(b) Calculate the worst-case NPV. (Do not round your intermediate calculations.)

In: Finance

1. When investors expect a country’s currency to strengthen in the future this is likely to...

1. When investors expect a country’s currency to strengthen in the future this is likely to result in _________________.

Select the correct answer below:

a. immediate appreciation of that currency

b. immediate depreciation of that currency

c. slow, steady appreciation of that currency

d. slow, steady depreciation of that currency

2. Which of the following is an example of a cyclically unemployed person

Select the correct answer below:

a. Mary quit her job to look for a better paying position with a different company

b. Rohit's company outsourced his position to another country and he was laid off. He needs to train to move into a different type of role.

c. Ron has decided to quit his job to become a stay-at-home dad.

d. Mae was laid off due to decrease in orders for her company's products. The economy is slowing down.

3. Assume that the level of domestic investment in a country rises while the level of private and public saving remains unchanged. In this case, the trade deficit would __________

Select the correct answer below:

a. increase

b. decline

4. One reason to demand a currency on the foreign exchange market is __________________________.

Select the correct answer below:

a. the belief that the currency's value is about to decline

b. the belief that the currency's value is about to increase

5. If a national economy runs a trade surplus, the trade sector will involve a(n) ______________ of financial capital.

Select the correct answer below:

a. inflow

b. outflow

c. shortage

d. balance

6. Suppose an economy has a trade surplus of $50 billion, private domestic savings of $500 billion, a government deficit of $120 billion, and private domestic investment of $570 billion. If the trade surplus decrease to $0, then all else equal by how many billions of dollars must private domestic investment have to change? Use a negative sign in your answer if there must be a decrease in private domestic investment.

Recall the savings investment formula: S+(M–X)=I+(G−T)

Provide your answer below:

In: Economics

Hi, 1 could you explain to me what is an emotional state based on emotional cue?...

Hi, 1 could you explain to me what is an emotional state based on emotional cue? 2 also how you get cultural expressions of emotion and 3 how you respond to another persons emotional state?

In: Psychology

A report from the U.S. Department of Agriculture shows that the mean American consumption of carbonated...

A report from the U.S. Department of Agriculture shows that the mean American consumption of carbonated beverages per year is greater than 52 gallons. A random sample of 30 Americans yielded a sample mean of 69 gallons. Assume that the population standard deviation is 20 gallons, and the consumption of carbonated beverages per year follows a normal distribution. Calculate a 95% confidence interval, and write it in a complete sentence related to the scenario.

In: Math

1. Does future prosperity depend on the development of renewable energy technologies? Why or why not?

1. Does future prosperity depend on the development of renewable energy technologies? Why or why not?

In: Economics