Questions
A battery is constructed based on the oxidation of magnesium and the reduction of Cu2+. The...

A battery is constructed based on the oxidation of magnesium and the reduction of Cu2+. The initial concentrations of Mg2+ and Cu2+ are 1.1×10−4 M and 1.6 M , respectively, in 1.0-liter half-cells.

PART A: What is the initial voltage of the battery?

PART B: What is the voltage of the battery after delivering 4.7 A for 8.0 h ?

PART C: How long can the battery deliver 4.7 A before going dead?

In: Chemistry

$$$$$$$$$$$$$$ please write in C# $$$$$$$$$$$$$$$ Write a program to keep track of a hardware store’s...

$$$$$$$$$$$$$$ please write in C# $$$$$$$$$$$$$$$

Write a program to keep track of a hardware store’s inventory. You will need to create necessary classes for handling the data and a separate client class with the main method.

The store sells various items. For each item in the store, the following information is maintained: item ID, item name, number of pieces currently in the store, manufacturer’s price of the item and the store’s selling price. Create a class Item to store the information about the items. Provide appropriate setters and getters. Override the toString() method.

Create a class Inventory that contains a vector of items. This class will contain a bunch of methods to help build the application. Create a static variable to keep track of the total different items in inventory. Every time a new item is added to the inventory this variable has to be updated.

  1. A method to create 5 Item objects by initializing the following properties of Item and returning a vector of Item.

ItemID,itemName,pInstore,manufPrice,sellingPrice

  1. A method to check whether an item is in the store by doing a lookup in the vector.
  2. A method to update the quantity on hand for the item being sold
  3. A method to report the quantity on hand for any item requested during purchase
  4. A method to print the report for the manager in the following format

ItemID     itemName               pInstore        manufPrice     sellingPrice

12            Circular saw            150               45.00      125.00

235        Cooking Range          50                450.0             850.00

.

Total Inventory: $####.##

Total number of items in the store:

The total inventory is the total selling value of all the items currently in the store. The total number of items is the sum of the number of pieces of all items in the store.

Create a separate client class with the main method, display the menu and use switch case statement to execute appropriate method. The main method should display a menu with the following choices such as:

  1. Check whether an item is in the store
  2. Sell an item
  3. Print the report

For option 1, the user must also be prompted for the itemID. You will then call the method created in the Inventory class.

For option 2, verify if pInstore > qtyOrdered. You will invoke the method created in Inventory class.

For option 3, display the report. Again, this is nothing but executing method from Inventory class.

Also after an item is sold update the appropriate counts. Initially, the number of pieces in the store is the same as the number of pieces ordered and the number of pieces of an item sold is zero. You will use the utility method created as part of Inventory class.

In: Computer Science

Create an application named SalesLeader. Add a class to your project called SalesPerson. (The default class...

Create an application named SalesLeader.

Add a class to your project called SalesPerson. (The default class may be called Program. Do not change this)

The SalesPerson class contains the following Properties:

FirstName - The salesperson's firs name (as a string)

SalesAmount - The sales amount ( as a double)

SalesArea - The 3 areas are the enumeration West Coast, MidWest, and East Coast.

Add a constructor which sets FirstName to "None", SalesAmount to 0 and SalesArea to MidWest.

Add a method which checks if the SalesAmount is greater than $100,000. If so, add 10% to the SalesAmount.

In the main class (Program), create the following:

Create 3 objects from SalesPerson.

                salesperson1

                salesperson2

                salesperson3

Prompt the user to set the amount of sales, first name and sales area for each object.

Display the name, sales amount and area for each sales person. Display which sales person is the Sales Leader this month and their commission (15% of total sales) … but first, add a method SalesLeaderTie to Program class to check if there might be a tie for Sales Leader. (Write Code in C#).

In: Computer Science

How would your ecological footprint be different if you lived in a less industrialized country?

How would your ecological footprint be different if you lived in a less industrialized country?

In: Other

1- How does the demand curve show the marginal benefit received by consumers? 2- How does...

1- How does the demand curve show the marginal benefit received by consumers?

2- How does a supply curve show the marginal cost to producers?

3- What is a perfectly competitive market?

4- What can eliminate a shortage?

5-What can reduce a surplus?

In: Economics

1. why is the resting membrane potential different than the equibilirium potential? 2. what ion/compound counters...

1. why is the resting membrane potential different than the equibilirium potential?
2. what ion/compound counters the ion to establish the final resting potential? why does it not move down its concentration gradient due to diffusion?

In: Anatomy and Physiology

This is a homework question. It has to be done using JAVA language. And PAY ATTENTION...

This is a homework question. It has to be done using JAVA language. And PAY ATTENTION TO WHAT YOU CAN USE AND WHAT I SPECIFICALLY ADDED THAT CANT BE USED TO COMPLETE THIS.

Objective:

Write a program that takes in two words, and then it recursively determines if the letters of the first word are contained, in any order, in the second word. If the size of the first word is larger than the second then it should automatically return false. Also if both strings are empty then return true.

You May NOT: ******************************************************************************************

Use any iterative loops. In other words, no for-loops, no while-loops, no do-while-loops, no for-each loops.

Use the string method .contains(String)

You May: ******************************************************************************************

Use the string method .charAt(Index)

Hints:

Recursive methods generally attempt to solve a smaller problem then return the results of those in order to solve the larger one.

Think of how to do this with a loop, and use that to guide what parameters you’ll need for your recursive method.

Example Dialog:

Enter 2 words. I will determine if the letters of one is contained in the other

elf

self

They are contained!

Example Dialog 2:

Enter 2 words. I will determine if the letters of one is contained in the other

jerky

turkey

They are not contained

Example Dialog 3:

Enter 2 words. I will determine if the letters of one is contained in the other

asdf

fasted

They are contained!

In: Computer Science

What is the amount of Na2HPO4 you need to add to a solution of 25mg NaH2PO4...

What is the amount of Na2HPO4 you need to add to a solution of 25mg NaH2PO4 in 100ml water
to obtain a pH=7.95?

In: Chemistry

Q) Which of the following statements is not correct? The Eastern hemisphere is defined by longitude...

Q) Which of the following statements is not correct?

The Eastern hemisphere is defined by longitude

The Prime Meridian is 0 degrees of latitude

The international date line is in the middle of the Pacific Ocean

Lines of latitude are parallel

The Arctic circle is outside of the circle of illumination on December 22nd


Q) At the equator the daylength on June 1 is...

8 hours

14 hours

12 hours

24 hours

0 hours

Q) What portion of the atmosphere does the biosphere primarily interact with?

ozonosphere

lithosphere

troposphere

Heterosphere

Q) Which of the following is not a way in which we define the atmosphere in geography?

function

temperature

height

Composition

Q) Mountain-valley breezes are caused by

valley air ascending the mountain slopes at night

warmer air descending mountain slopes during the day

gravity drainage

warm air rising upslope during the day and cooler air descending the slopes at night

Q) Which of the following is true of objects and wind moving over a distance on Earth's surface?

They are affected only by the pressure gradient and the friction force

They are apparently deflected clockwise from a straight path in the Northern hemisphere.

They are always deflected from a straight path to the west in the southern hemisphere

They are always deflected clockwise by the friction force

Q) The largest portion of fresh water today is located in

ice caps and glaciers

clouds

the major rivers and lakes of the world

groundwater resources

Q) The property that makes water 'wet' and is the cause of capillary action is:

molecular hold

hydrogen bonding

covalent bonding

atomic friction

Q) The Pacific Northwest region of the US is a moist environment because of

the effect of maritime air masses

all of the above

the predominant direction the winds blow at that latitude (45 to 50 degrees north)

the presence of mountains

Q) Which of the following lists the correct, generalized sequence of Koppen climates from the equator to the poles?

H --> B --> C --> D --> A

A --> B --> C --> D --> E

H --> D --> C --> B --> A

E --> D --> C --> B --> A

Q) The gas that is thought to be responsible for more than half of the anthropogenic warming of the atmosphere is

water vapor

carbon dioxide

methane

CFC's

In: Other

Kollar Corp.’s transactions for the year ended December 31, Year 6, included the following: Purchased real...

Kollar Corp.’s transactions for the year ended December 31, Year 6, included the following:

  1. Purchased real estate for $550,000 cash borrowed from a bank
  2. Sold available-for-sale debt securities for $500,000
  3. Paid dividends of $600,000
  4. Issued 500 shares of common stock for $250,000
  1. Purchased machinery and equipment for $125,000 cash
  2. Paid $450,000 toward a bank loan
  3. Reduced accounts receivable by $100,000
  4. Increased accounts payable by $200,000

Kollar’s net cash used in financing activities for Year 6 was

A $450,000

B $500,000

C $250,000

D $50,000

In: Accounting

MATLAB: Write a function called problem2 that takes an at most two-dimensional matrix A as its...

MATLAB:

Write a function called problem2 that takes an at most two-dimensional matrix A as its sole input. The function uses a while-loop to return the largest element of A. You are not allowed to use the built-in max function and you are also not allowed to use for-loops.

In: Computer Science

5. Opportunity cost and production possibilities Eric is a skilled toy maker who is able to...

5. Opportunity cost and production possibilities

Eric is a skilled toy maker who is able to produce both cars and drums. He has 8 hours a day to produce toys. The following table shows the daily output resulting from various possible combinations of his time.

Choice

Hours Producing

Produced

(Cars)

(Drums)

(Cars)

(Drums)

A 8 0 4 0
B 6 2 3 10
C 4 4 2 16
D 2 6 1 19
E 0 8 0 20

On the following graph, use the blue points (circle symbol) to plot Eric's initial production possibilities frontier (PPF).

Initial PPFNew PPF012345678302520151050DRUMSCARS

Suppose Eric is currently using combination D, producing one car per day. His opportunity cost of producing a second car per day is   per day.

Now, suppose Eric is currently using combination C, producing two cars per day. His opportunity cost of producing a third car per day is   per day.

From the previous analysis, you can determine that as Eric increases his production of cars, his opportunity cost of producing one more car   .

Suppose Eric buys a new tool that enables him to produce twice as many cars per hour as before, but it doesn't affect his ability to produce drums. Use the green points (triangle symbol) to plot his new PPF on the previous graph.

Because he can now make more cars per hour, Eric's opportunity cost of producing drums is   it was previously.

In: Economics

Using the Internet or your school library research the challenges associated with eCommerce payments that cross...

Using the Internet or your school library research the challenges associated with eCommerce payments that cross international borders.

  • As you research, locate information that addresses the following:
    • Do most E-Commerce firms engage in international business transactions?
    • Look up the term repudiation, and research how firms that engage in international business protect themselves from it?
    • How are online purchases impacted by exchange rates and shipping charges?

In: Economics

Questions for Security Engineering: Why is security difficult? How does it compare to other objectives like...

Questions for Security Engineering:

  • Why is security difficult?
  • How does it compare to other objectives like cost, power, performance, reliability?

In: Computer Science

1a. A ternary mixture contains 20 mol % A , 40mol % B, and 40 mol...

1a. A ternary mixture contains 20 mol % A , 40mol % B, and 40 mol % C. At a pressure of 80 atm and a temperature of 75?C the fugacity coefficient of components A ,B and C in this mixture are 0.4, 0.6 and 0.8 respectively. What is the fugacity of the mixture?

Explain the basis of the equation you use in (a).

1b. For the system ethyl ethanoate (1) /n -heptane (2) at 450K , assuming the validity of the modified raoult’s law

  1. Make a BULB P calculation for T = 450 K, x1 = 0.06
  2. Make a DEW P calculation for T = 450 K, y1 = 0.06
  3. Determine if the system is an azeotrope

Given the following data;

Iny1 = 0.95X22 ;   Iny2 = 0.95X12     P1sat 80.0 kpa ; P2sat = 41.0 kpa.

2.   a. A binary mixture consists of acetonitrile (1) and nitromethane (2) which conform closely to raoult’s law. Vapor pressures for the pure species are given by the following antoine equations;

In(P1sat ,Kpa) = 2945.5t?C+224..0

In(P2sat ,Kpa) = 2972.6t?C+209.0

Determine the bubble point pressure and vapor composition for a mixture of composition X1 = 0.6 at a temperature of 65?C.

     b. State the criteria for equilibrium for vapor -liquid composition.

     c. Given the excess Gibb’s free energy of a solution as :

GEX1RT = B( 1-X1) find the activity coefficient expression arising out of the binary solution model .

  1. Show whether these expressions satisfy the Gibb’s-Duhem equation.

At 30?C and 1 atm, the volumetric data for liquid mixtures of benzene (b) and

In: Other